Skip to content

Commit ebd20d7

Browse files
author
NellowTCS
committed
Basic engine idea
1 parent 4291f41 commit ebd20d7

11 files changed

Lines changed: 2211 additions & 1 deletion

File tree

Build/jest.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
testEnvironment: "node",
3+
roots: ["<rootDir>/tests"],
4+
testMatch: ["**/*.test.ts", "**/*.spec.ts"],
5+
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json"],
6+
transform: {
7+
"^.+\\.tsx?$": ["ts-jest", { useESM: true }],
8+
},
9+
moduleNameMapper: {
10+
"^@core/(.*)$": "<rootDir>/src/core/$1",
11+
"^@platform/(.*)$": "<rootDir>/src/platform/$1",
12+
},
13+
collectCoverageFrom: [
14+
"src/core/engine/**/*.ts",
15+
"src/platform/audio/**/*.ts",
16+
],
17+
coverageDirectory: "coverage",
18+
coverageReporters: ["text", "json", "html"],
19+
verbose: true,
20+
};

0 commit comments

Comments
 (0)