You've already forked inshellisense
mirror of
https://github.com/wavetermdev/inshellisense.git
synced 2026-04-22 15:25:33 -07:00
c13939ae02
* feat: add option to hide prompt information during e2e tests Signed-off-by: Chapman Pendery <cpendery@vt.edu> * fix: drop hidden option header Signed-off-by: Chapman Pendery <cpendery@vt.edu> * fix: tests to use -T Signed-off-by: Chapman Pendery <cpendery@vt.edu> --------- Signed-off-by: Chapman Pendery <cpendery@vt.edu>
23 lines
562 B
JavaScript
23 lines
562 B
JavaScript
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
// [...]
|
|
extensionsToTreatAsEsm: [".ts"],
|
|
moduleNameMapper: {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
},
|
|
transform: {
|
|
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
|
|
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`
|
|
"^.+\\.tsx?$": [
|
|
"ts-jest",
|
|
{
|
|
useESM: true,
|
|
},
|
|
],
|
|
},
|
|
testPathIgnorePatterns: ["/node_modules/", "src/tests/ui/", ".tui-test/"],
|
|
};
|