node: fix test config

This commit is contained in:
Pierric Cistac
2020-01-31 11:07:36 -05:00
parent 6d532fedb1
commit c98eb04998
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable prettier/prettier */
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
@ -181,7 +182,12 @@ module.exports = {
// verbose: null,
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
// watchPathIgnorePatterns: [],
watchPathIgnorePatterns: [
"<rootDir>/node_modules/",
"<rootDir>/native/",
"<rootDir>/dist/",
"<rootDir>/build/"
],
// Whether to use watchman for file crawling
// watchman: true,

View File

@ -7,7 +7,7 @@
// "incremental": true, /* Enable incremental compilation */
"target": "ES2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
"lib": [], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */