chore: extract jest snapshot serializers (#5034)
This commit is contained in:
6 files changed
+22
-50
No files matched your search
+2
-2
@@ -13,8 +13,8 @@ const isOldNode = semver.parse(process.version).major <= 4;
|
||||
module.exports = {
|
||||
setupFiles: ["<rootDir>/tests_config/run_spec.js"],
|
||||
snapshotSerializers: [
|
||||
"<rootDir>/tests_config/raw-serializer.js",
|
||||
"<rootDir>/tests_config/ansi-serializer.js"
|
||||
"jest-snapshot-serializer-raw",
|
||||
"jest-snapshot-serializer-ansi"
|
||||
],
|
||||
testRegex: "jsfmt\\.spec\\.js$|__tests__/.*\\.js$",
|
||||
testPathIgnorePatterns: ["tests/new_react", "tests/more_react"].concat(
|
||||
|
||||
Reference in new issue
Block a user