-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [Issue-185] Token Provider Tests #365
base: main
Are you sure you want to change the base?
Conversation
@ponderingdemocritus This is based on your earlier instructions to include and use vitest: |
packages/adapter-sqlite/package.json
Outdated
}, | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./sqlite_vec": "./dist/sqlite_vec.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think this is needed - exported at index
packages/plugin-solana/src/index.ts
Outdated
import { Connection } from "@solana/web3.js"; | ||
import { PublicKey } from "@solana/web3.js"; | ||
|
||
export { TokenProvider, WalletProvider, Connection, PublicKey }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the solana exports and import where needed from the packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, this was left over from another test I was working on, but ended up simplifying for this first PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good start - see comments
@ponderingdemocritus Thanks for the feedback! Just pushed an update based on comments |
Relates to:
#185
Risks
Low: Only modification to src code files was adding optional syntax an
Background
What does this PR do?
packages/core/src/tests/token.test.ts
What kind of change is this?
Improvements - Tests
See Issue above
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
pnpm -w run test -- 'src/tests/token.test.ts'
Where should a reviewer start?
Detailed testing steps