From 208fd364a9a8bdc0e12993ace4f1829303548476 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Sat, 15 Nov 2025 09:18:12 +0100 Subject: [pbt] configure running tests w/ jest --- pbt/ts/jest.config.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pbt/ts/jest.config.js (limited to 'pbt/ts/jest.config.js') 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'] +}; -- cgit v1.3.1