CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/sync/jest.config.js
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
module.exports = {
7
preset: "ts-jest",
8
testEnvironment: "node",
9
moduleNameMapper: {
10
"@cocalc/util/dmp": "<rootDir>/../util/dist/dmp",
11
"@cocalc/util/misc": "<rootDir>/../util/dist/misc",
12
},
13
testMatch: ["**/__tests__/**/*.[t]s?(x)", "**/?(*.)+(spec|test).[t]s?(x)"],
14
testPathIgnorePatterns: ["/node_modules/"],
15
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
16
};
17
18