UNPKG

@nut-tree-fork/libnut

Version:

libnut is an N-API module for desktop automation with node

21 lines (20 loc) 501 B
module.exports = { collectCoverageFrom: [ "index.ts", "lib/**/*.ts", "!lib/**/*.spec.ts", "!<rootDir>/node_modules/", ], preset: "ts-jest", testEnvironment: "node", testMatch: process.env.E2E_TEST ? [ "**/__tests__/(e2e)/**/*.[jt]s?(x)", "**/?(*.)(e2e.)+(spec|test).[jt]s?(x)", ] : [ "**/__tests__/!(e2e)/**/*.[jt]s?(x)", "**/!(*.e2e.*)+(spec|test).[jt]s?(x)", ], testPathIgnorePatterns: ["/node_modules/", "/dist/"], };