mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
21 lines
468 B
JavaScript
21 lines
468 B
JavaScript
const { TextDecoder, TextEncoder } = require("util");
|
|
|
|
module.exports = {
|
|
roots: ["<rootDir>/src"],
|
|
transform: {
|
|
"^.+\\.ts$": "ts-jest",
|
|
},
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
collectCoverage: true,
|
|
verbose: true,
|
|
testEnvironment: "node",
|
|
globals: {
|
|
TextDecoder: TextDecoder,
|
|
TextEncoder: TextEncoder,
|
|
error: console.error,
|
|
warn: console.warn,
|
|
info: console.info,
|
|
debug: console.debug,
|
|
},
|
|
};
|