Skip to content

Commit

Permalink
chore: Move test regex from jest config to anchor.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Aug 12, 2024
1 parent 320c6a3 commit 80f69e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/oft-solana/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ cluster = "Localnet"
wallet = "./junk-id.json"

[scripts]
test = "npx jest"
test = "npx jest test/anchor"
1 change: 0 additions & 1 deletion examples/oft-solana/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
module.exports = {
reporters: [['github-actions', { silent: false }], 'default'],
testEnvironment: 'node',
testRegex: '(/test/anchor/.*\\.test\\.(ts|tsx)$)',
testTimeout: 15000,
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
Expand Down

0 comments on commit 80f69e3

Please sign in to comment.