chore: add jest

This commit is contained in:
steven
2022-10-01 22:56:20 +08:00
parent 5894104524
commit df5818cdc5
3 changed files with 1486 additions and 38 deletions

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

@ -0,0 +1,6 @@
/* eslint-disable no-undef */
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
};