Skip to content

Commit

Permalink
test(scenarios): group tests by scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMason committed Feb 19, 2023
1 parent 5c41df8 commit 1349770
Show file tree
Hide file tree
Showing 69 changed files with 2,187 additions and 2,368 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ module.exports = {
},
moduleFileExtensions: ['ts', 'js'],
setupFiles: ['<rootDir>/test/jest.setup.ts'],
testMatch: [
'<rootDir>/src/**/*.spec.ts',
'<rootDir>/test/scenarios/**/*.spec.ts',
],
transform: {
'^.+\\.ts$': ['ts-jest', { isolatedModules: true }],
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@
"format:source": "prettier --write .",
"lint": "eslint --ext .ts .",
"prepack": "yarn build",
"test": "jest src"
"test": "jest src test"
}
}
204 changes: 0 additions & 204 deletions src/bin-fix-mismatches/fix-mismatches.spec.ts

This file was deleted.

69 changes: 0 additions & 69 deletions src/bin-format/format.spec.ts

This file was deleted.

77 changes: 0 additions & 77 deletions src/bin-lint-semver-ranges/lint-semver-ranges-cli.spec.ts

This file was deleted.

0 comments on commit 1349770

Please sign in to comment.