diff options
| author | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-11-15 09:18:12 +0100 |
|---|---|---|
| committer | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-11-15 09:18:12 +0100 |
| commit | 208fd364a9a8bdc0e12993ace4f1829303548476 (patch) | |
| tree | 9b5dded57b4b09a2a1ee64e04aeb5edbbd5f1cff /pbt/ts/jest.config.js | |
| parent | e656098a35ee9cc0bc86729d2ebbbb13047ad61d (diff) | |
| download | lambda-nantes-208fd364a9a8bdc0e12993ace4f1829303548476.tar.gz | |
[pbt] configure running tests w/ jest
Diffstat (limited to 'pbt/ts/jest.config.js')
| -rw-r--r-- | pbt/ts/jest.config.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pbt/ts/jest.config.js b/pbt/ts/jest.config.js new file mode 100644 index 0000000..99bd920 --- /dev/null +++ b/pbt/ts/jest.config.js @@ -0,0 +1,6 @@ +module.exports = { + transform: {'^.+\\.ts?$': 'ts-jest'}, + testEnvironment: 'node', + testRegex: '.*\\.(test|spec)?\\.(ts|tsx)$', + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'] +}; |
