UNPKG

@storm-software/testing-tools

Version:

⚡ A package containing various testing tools used by Storm workspaces to drive unit and e2e testing.

27 lines (25 loc) 595 B
const nxPreset = require("@nx/jest/preset").default; module.exports = { ...nxPreset, collectCoverage: true, testTimeout: 30000, clearMocks: true, testMatch: ["**/+(*.)+(spec|test).+(ts|js)?(x)"], transform: { "^.+\\.(ts|js|html)$": "ts-jest", }, snapshotFormat: { printBasicPrototype: false, }, globals: { "ts-jest": { isolatedModules: true, diagnostics: { exclude: ["**"], }, }, }, moduleFileExtensions: ["ts", "js", "html"], coverageReporters: ["json", "lcov", "text", "clover", "text-summary", "html"], maxWorkers: 1, };