Enable CR test (#9148)

* Enable `CR` test

* Fix tests

* Ignore `standalone.js`
This commit is contained in:
fisker Cheung authored and GitHub committed 2020-09-17 07:35:33 +08:00
1 parent a5a6ed7872
commit 47ed40d970
3 files changed
+67 -38

No files matched your search

+4 -1
View File
@@ -47,7 +47,10 @@ module.exports = {
testPathIgnorePatterns,
collectCoverage: ENABLE_CODE_COVERAGE,
collectCoverageFrom: ["<rootDir>/src/**/*.js", "<rootDir>/bin/**/*.js"],
coveragePathIgnorePatterns: ["<rootDir>/src/document/doc-debug.js"],
coveragePathIgnorePatterns: [
"<rootDir>/src/standalone.js",
"<rootDir>/src/document/doc-debug.js",
],
coverageReporters: ["text", "lcov"],
moduleNameMapper: {
"prettier/local": "<rootDir>/tests_config/require_prettier.js",