chore(tests): add js validation tests

These are the first javascript unit tests. Added them to the CI worflow.
Closes #2930
This commit is contained in:
Gabe Kangas
2023-04-16 14:30:56 -07:00
parent b3ac4e1a15
commit 5f2252f2a4
7 changed files with 4931 additions and 10 deletions

6
web/jest.config.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
transform: { '^.+\\.ts?$': 'ts-jest' },
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};