mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
fb1f95c26e
See PR #271 description
17 lines
629 B
JavaScript
17 lines
629 B
JavaScript
module.exports = {
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
|
|
transform: {
|
|
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest",
|
|
},
|
|
testPathIgnorePatterns: [".cypress", "node_modules", "dist"],
|
|
testEnvironment: "jsdom",
|
|
moduleNameMapper: {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
|
"<rootDir>/test/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
|
|
"\\!!raw-loader!.*$": "<rootDir>/test/__mocks__/rawLoader.js",
|
|
"@player": "<rootDir>/src/Player",
|
|
"@nsdefs": "<rootDir>/src/ScriptEditor/NetscriptDefinitions",
|
|
},
|
|
};
|