Files
Chapman Pendery c13939ae02 feat: add option to hide prompt information during e2e tests (#168)
* 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>
2024-02-15 12:13:32 -08:00

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/"],
};