mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
12
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts
generated
vendored
Normal file
12
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import type { Config } from '@jest/types';
|
||||
import type { JestEnvironment } from '@jest/environment';
|
||||
import type { TestResult } from '@jest/test-result';
|
||||
import type { RuntimeType as Runtime } from 'jest-runtime';
|
||||
declare const jestAdapter: (globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, environment: JestEnvironment, runtime: Runtime, testPath: string, sendMessageToJest?: import("jest-runner/build/types").TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined) => Promise<TestResult>;
|
||||
export = jestAdapter;
|
150
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js
generated
vendored
Normal file
150
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js
generated
vendored
Normal file
|
@ -0,0 +1,150 @@
|
|||
'use strict';
|
||||
|
||||
var _jestUtil = require('jest-util');
|
||||
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
const FRAMEWORK_INITIALIZER = require.resolve('./jestAdapterInit');
|
||||
|
||||
const jestAdapter = async (
|
||||
globalConfig,
|
||||
config,
|
||||
environment,
|
||||
runtime,
|
||||
testPath,
|
||||
sendMessageToJest
|
||||
) => {
|
||||
var _runtime$setGlobalsFo, _runtime$unstable_sho2;
|
||||
|
||||
const {
|
||||
initialize,
|
||||
runAndTransformResultsToJestFormat
|
||||
} = runtime.requireInternalModule(FRAMEWORK_INITIALIZER);
|
||||
|
||||
const getPrettier = () =>
|
||||
config.prettierPath ? require(config.prettierPath) : null;
|
||||
|
||||
const getBabelTraverse = () => require('@babel/traverse').default;
|
||||
|
||||
const {globals, snapshotState} = await initialize({
|
||||
config,
|
||||
environment,
|
||||
getBabelTraverse,
|
||||
getPrettier,
|
||||
globalConfig,
|
||||
localRequire: runtime.requireModule.bind(runtime),
|
||||
parentProcess: process,
|
||||
sendMessageToJest,
|
||||
setGlobalsForRuntime:
|
||||
(_runtime$setGlobalsFo = runtime.setGlobalsForRuntime) === null ||
|
||||
_runtime$setGlobalsFo === void 0
|
||||
? void 0
|
||||
: _runtime$setGlobalsFo.bind(runtime),
|
||||
testPath
|
||||
});
|
||||
|
||||
if (config.timers === 'fake' || config.timers === 'legacy') {
|
||||
// during setup, this cannot be null (and it's fine to explode if it is)
|
||||
environment.fakeTimers.useFakeTimers();
|
||||
} else if (config.timers === 'modern') {
|
||||
environment.fakeTimersModern.useFakeTimers();
|
||||
}
|
||||
|
||||
globals.beforeEach(() => {
|
||||
if (config.resetModules) {
|
||||
runtime.resetModules();
|
||||
}
|
||||
|
||||
if (config.clearMocks) {
|
||||
runtime.clearAllMocks();
|
||||
}
|
||||
|
||||
if (config.resetMocks) {
|
||||
runtime.resetAllMocks();
|
||||
|
||||
if (config.timers === 'fake') {
|
||||
// during setup, this cannot be null (and it's fine to explode if it is)
|
||||
environment.fakeTimers.useFakeTimers();
|
||||
}
|
||||
}
|
||||
|
||||
if (config.restoreMocks) {
|
||||
runtime.restoreAllMocks();
|
||||
}
|
||||
});
|
||||
|
||||
for (const path of config.setupFilesAfterEnv) {
|
||||
var _runtime$unstable_sho;
|
||||
|
||||
// TODO: remove ? in Jest 26
|
||||
const esm =
|
||||
(_runtime$unstable_sho = runtime.unstable_shouldLoadAsEsm) === null ||
|
||||
_runtime$unstable_sho === void 0
|
||||
? void 0
|
||||
: _runtime$unstable_sho.call(runtime, path);
|
||||
|
||||
if (esm) {
|
||||
await runtime.unstable_importModule(path);
|
||||
} else {
|
||||
runtime.requireModule(path);
|
||||
}
|
||||
} // TODO: remove ? in Jest 26
|
||||
|
||||
const esm =
|
||||
(_runtime$unstable_sho2 = runtime.unstable_shouldLoadAsEsm) === null ||
|
||||
_runtime$unstable_sho2 === void 0
|
||||
? void 0
|
||||
: _runtime$unstable_sho2.call(runtime, testPath);
|
||||
|
||||
if (esm) {
|
||||
await runtime.unstable_importModule(testPath);
|
||||
} else {
|
||||
runtime.requireModule(testPath);
|
||||
}
|
||||
|
||||
const results = await runAndTransformResultsToJestFormat({
|
||||
config,
|
||||
globalConfig,
|
||||
testPath
|
||||
});
|
||||
|
||||
_addSnapshotData(results, snapshotState); // We need to copy the results object to ensure we don't leaks the prototypes
|
||||
// from the VM. Jasmine creates the result objects in the parent process, we
|
||||
// should consider doing that for circus as well.
|
||||
|
||||
return (0, _jestUtil.deepCyclicCopy)(results, {
|
||||
keepPrototype: false
|
||||
});
|
||||
};
|
||||
|
||||
const _addSnapshotData = (results, snapshotState) => {
|
||||
results.testResults.forEach(({fullName, status}) => {
|
||||
if (status === 'pending' || status === 'failed') {
|
||||
// if test is skipped or failed, we don't want to mark
|
||||
// its snapshots as obsolete.
|
||||
snapshotState.markSnapshotsAsCheckedForTest(fullName);
|
||||
}
|
||||
});
|
||||
const uncheckedCount = snapshotState.getUncheckedCount();
|
||||
const uncheckedKeys = snapshotState.getUncheckedKeys();
|
||||
|
||||
if (uncheckedCount) {
|
||||
snapshotState.removeUncheckedKeys();
|
||||
}
|
||||
|
||||
const status = snapshotState.save();
|
||||
results.snapshot.fileDeleted = status.deleted;
|
||||
results.snapshot.added = snapshotState.added;
|
||||
results.snapshot.matched = snapshotState.matched;
|
||||
results.snapshot.unmatched = snapshotState.unmatched;
|
||||
results.snapshot.updated = snapshotState.updated;
|
||||
results.snapshot.unchecked = !status.deleted ? uncheckedCount : 0; // Copy the array to prevent memory leaks
|
||||
|
||||
results.snapshot.uncheckedKeys = Array.from(uncheckedKeys);
|
||||
};
|
||||
|
||||
module.exports = jestAdapter;
|
40
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts
generated
vendored
Normal file
40
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
/// <reference types="node" />
|
||||
import type BabelTraverse from '@babel/traverse';
|
||||
import type { Config, Global } from '@jest/types';
|
||||
import type { JestEnvironment } from '@jest/environment';
|
||||
import { TestResult } from '@jest/test-result';
|
||||
import type { TestFileEvent } from 'jest-runner';
|
||||
import { SnapshotStateType } from 'jest-snapshot';
|
||||
import globals from '..';
|
||||
import { Expect } from './jestExpect';
|
||||
declare type Process = NodeJS.Process;
|
||||
interface JestGlobals extends Global.TestFrameworkGlobals {
|
||||
expect: Expect;
|
||||
}
|
||||
export declare const initialize: ({ config, environment, getPrettier, getBabelTraverse, globalConfig, localRequire, parentProcess, sendMessageToJest, setGlobalsForRuntime, testPath, }: {
|
||||
config: Config.ProjectConfig;
|
||||
environment: JestEnvironment;
|
||||
getPrettier: () => null | any;
|
||||
getBabelTraverse: () => typeof BabelTraverse;
|
||||
globalConfig: Config.GlobalConfig;
|
||||
localRequire: <T = unknown>(path: Config.Path) => T;
|
||||
testPath: Config.Path;
|
||||
parentProcess: Process;
|
||||
sendMessageToJest?: import("jest-runner/build/types").TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined;
|
||||
setGlobalsForRuntime?: ((globals: JestGlobals) => void) | undefined;
|
||||
}) => Promise<{
|
||||
globals: Global.TestFrameworkGlobals;
|
||||
snapshotState: SnapshotStateType;
|
||||
}>;
|
||||
export declare const runAndTransformResultsToJestFormat: ({ config, globalConfig, testPath, }: {
|
||||
config: Config.ProjectConfig;
|
||||
globalConfig: Config.GlobalConfig;
|
||||
testPath: string;
|
||||
}) => Promise<TestResult>;
|
||||
export {};
|
306
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js
generated
vendored
Normal file
306
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js
generated
vendored
Normal file
|
@ -0,0 +1,306 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.runAndTransformResultsToJestFormat = exports.initialize = void 0;
|
||||
|
||||
var _testResult = require('@jest/test-result');
|
||||
|
||||
var _expect = require('expect');
|
||||
|
||||
var _jestMessageUtil = require('jest-message-util');
|
||||
|
||||
var _jestSnapshot = require('jest-snapshot');
|
||||
|
||||
var _jestEach = require('jest-each');
|
||||
|
||||
var _throat = _interopRequireDefault(require('throat'));
|
||||
|
||||
var _state = require('../state');
|
||||
|
||||
var _utils = require('../utils');
|
||||
|
||||
var _run = _interopRequireDefault(require('../run'));
|
||||
|
||||
var _testCaseReportHandler = _interopRequireDefault(
|
||||
require('../testCaseReportHandler')
|
||||
);
|
||||
|
||||
var _ = _interopRequireDefault(require('..'));
|
||||
|
||||
var _jestExpect = _interopRequireDefault(require('./jestExpect'));
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
const initialize = async ({
|
||||
config,
|
||||
environment,
|
||||
getPrettier,
|
||||
getBabelTraverse,
|
||||
globalConfig,
|
||||
localRequire,
|
||||
parentProcess,
|
||||
sendMessageToJest,
|
||||
setGlobalsForRuntime,
|
||||
testPath
|
||||
}) => {
|
||||
var _config$injectGlobals;
|
||||
|
||||
if (globalConfig.testTimeout) {
|
||||
(0, _state.getState)().testTimeout = globalConfig.testTimeout;
|
||||
}
|
||||
|
||||
const mutex = (0, _throat.default)(globalConfig.maxConcurrency); // @ts-expect-error
|
||||
|
||||
const globalsObject = {
|
||||
..._.default,
|
||||
fdescribe: _.default.describe.only,
|
||||
fit: _.default.it.only,
|
||||
xdescribe: _.default.describe.skip,
|
||||
xit: _.default.it.skip,
|
||||
xtest: _.default.it.skip
|
||||
};
|
||||
|
||||
globalsObject.test.concurrent = (test => {
|
||||
const concurrent = (testName, testFn, timeout) => {
|
||||
// For concurrent tests we first run the function that returns promise, and then register a
|
||||
// normal test that will be waiting on the returned promise (when we start the test, the promise
|
||||
// will already be in the process of execution).
|
||||
// Unfortunately at this stage there's no way to know if there are any `.only` tests in the suite
|
||||
// that will result in this test to be skipped, so we'll be executing the promise function anyway,
|
||||
// even if it ends up being skipped.
|
||||
const promise = mutex(() => testFn());
|
||||
globalsObject.test(testName, () => promise, timeout);
|
||||
};
|
||||
|
||||
const only = (testName, testFn, timeout) => {
|
||||
const promise = mutex(() => testFn()); // eslint-disable-next-line jest/no-focused-tests
|
||||
|
||||
test.only(testName, () => promise, timeout);
|
||||
};
|
||||
|
||||
concurrent.only = only;
|
||||
concurrent.skip = test.skip;
|
||||
concurrent.each = (0, _jestEach.bind)(test, false);
|
||||
concurrent.skip.each = (0, _jestEach.bind)(test.skip, false);
|
||||
only.each = (0, _jestEach.bind)(test.only, false);
|
||||
return concurrent;
|
||||
})(globalsObject.test);
|
||||
|
||||
(0, _state.addEventHandler)(eventHandler);
|
||||
|
||||
if (environment.handleTestEvent) {
|
||||
(0, _state.addEventHandler)(environment.handleTestEvent.bind(environment));
|
||||
}
|
||||
|
||||
const runtimeGlobals = {
|
||||
...globalsObject,
|
||||
expect: (0, _jestExpect.default)(globalConfig)
|
||||
}; // TODO: `jest-circus` might be newer than `jest-runtime` - remove `?.` for Jest 27
|
||||
|
||||
setGlobalsForRuntime === null || setGlobalsForRuntime === void 0
|
||||
? void 0
|
||||
: setGlobalsForRuntime(runtimeGlobals); // TODO: `jest-circus` might be newer than `jest-config` - remove `??` for Jest 27
|
||||
|
||||
if (
|
||||
(_config$injectGlobals = config.injectGlobals) !== null &&
|
||||
_config$injectGlobals !== void 0
|
||||
? _config$injectGlobals
|
||||
: true
|
||||
) {
|
||||
Object.assign(environment.global, runtimeGlobals);
|
||||
}
|
||||
|
||||
await (0, _state.dispatch)({
|
||||
name: 'setup',
|
||||
parentProcess,
|
||||
runtimeGlobals,
|
||||
testNamePattern: globalConfig.testNamePattern
|
||||
});
|
||||
|
||||
if (config.testLocationInResults) {
|
||||
await (0, _state.dispatch)({
|
||||
name: 'include_test_location_in_result'
|
||||
});
|
||||
} // Jest tests snapshotSerializers in order preceding built-in serializers.
|
||||
// Therefore, add in reverse because the last added is the first tested.
|
||||
|
||||
config.snapshotSerializers
|
||||
.concat()
|
||||
.reverse()
|
||||
.forEach(path => (0, _jestSnapshot.addSerializer)(localRequire(path)));
|
||||
const {expand, updateSnapshot} = globalConfig;
|
||||
const snapshotResolver = (0, _jestSnapshot.buildSnapshotResolver)(config);
|
||||
const snapshotPath = snapshotResolver.resolveSnapshotPath(testPath);
|
||||
const snapshotState = new _jestSnapshot.SnapshotState(snapshotPath, {
|
||||
expand,
|
||||
getBabelTraverse,
|
||||
getPrettier,
|
||||
updateSnapshot
|
||||
}); // @ts-expect-error: snapshotState is a jest extension of `expect`
|
||||
|
||||
(0, _expect.setState)({
|
||||
snapshotState,
|
||||
testPath
|
||||
});
|
||||
(0, _state.addEventHandler)(handleSnapshotStateAfterRetry(snapshotState));
|
||||
|
||||
if (sendMessageToJest) {
|
||||
(0, _state.addEventHandler)(
|
||||
(0, _testCaseReportHandler.default)(testPath, sendMessageToJest)
|
||||
);
|
||||
} // Return it back to the outer scope (test runner outside the VM).
|
||||
|
||||
return {
|
||||
globals: globalsObject,
|
||||
snapshotState
|
||||
};
|
||||
};
|
||||
|
||||
exports.initialize = initialize;
|
||||
|
||||
const runAndTransformResultsToJestFormat = async ({
|
||||
config,
|
||||
globalConfig,
|
||||
testPath
|
||||
}) => {
|
||||
const runResult = await (0, _run.default)();
|
||||
let numFailingTests = 0;
|
||||
let numPassingTests = 0;
|
||||
let numPendingTests = 0;
|
||||
let numTodoTests = 0;
|
||||
const assertionResults = runResult.testResults.map(testResult => {
|
||||
let status;
|
||||
|
||||
if (testResult.status === 'skip') {
|
||||
status = 'pending';
|
||||
numPendingTests += 1;
|
||||
} else if (testResult.status === 'todo') {
|
||||
status = 'todo';
|
||||
numTodoTests += 1;
|
||||
} else if (testResult.errors.length) {
|
||||
status = 'failed';
|
||||
numFailingTests += 1;
|
||||
} else {
|
||||
status = 'passed';
|
||||
numPassingTests += 1;
|
||||
}
|
||||
|
||||
const ancestorTitles = testResult.testPath.filter(
|
||||
name => name !== _state.ROOT_DESCRIBE_BLOCK_NAME
|
||||
);
|
||||
const title = ancestorTitles.pop();
|
||||
return {
|
||||
ancestorTitles,
|
||||
duration: testResult.duration,
|
||||
failureDetails: testResult.errorsDetailed,
|
||||
failureMessages: testResult.errors,
|
||||
fullName: title
|
||||
? ancestorTitles.concat(title).join(' ')
|
||||
: ancestorTitles.join(' '),
|
||||
invocations: testResult.invocations,
|
||||
location: testResult.location,
|
||||
numPassingAsserts: 0,
|
||||
status,
|
||||
title: testResult.testPath[testResult.testPath.length - 1]
|
||||
};
|
||||
});
|
||||
let failureMessage = (0, _jestMessageUtil.formatResultsErrors)(
|
||||
assertionResults,
|
||||
config,
|
||||
globalConfig,
|
||||
testPath
|
||||
);
|
||||
let testExecError;
|
||||
|
||||
if (runResult.unhandledErrors.length) {
|
||||
testExecError = {
|
||||
message: '',
|
||||
stack: runResult.unhandledErrors.join('\n')
|
||||
};
|
||||
failureMessage =
|
||||
(failureMessage || '') +
|
||||
'\n\n' +
|
||||
runResult.unhandledErrors
|
||||
.map(err =>
|
||||
(0, _jestMessageUtil.formatExecError)(err, config, globalConfig)
|
||||
)
|
||||
.join('\n');
|
||||
}
|
||||
|
||||
await (0, _state.dispatch)({
|
||||
name: 'teardown'
|
||||
});
|
||||
return {
|
||||
...(0, _testResult.createEmptyTestResult)(),
|
||||
console: undefined,
|
||||
displayName: config.displayName,
|
||||
failureMessage,
|
||||
numFailingTests,
|
||||
numPassingTests,
|
||||
numPendingTests,
|
||||
numTodoTests,
|
||||
sourceMaps: {},
|
||||
testExecError,
|
||||
testFilePath: testPath,
|
||||
testResults: assertionResults
|
||||
};
|
||||
};
|
||||
|
||||
exports.runAndTransformResultsToJestFormat = runAndTransformResultsToJestFormat;
|
||||
|
||||
const handleSnapshotStateAfterRetry = snapshotState => event => {
|
||||
switch (event.name) {
|
||||
case 'test_retry': {
|
||||
// Clear any snapshot data that occurred in previous test run
|
||||
snapshotState.clear();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const eventHandler = async event => {
|
||||
switch (event.name) {
|
||||
case 'test_start': {
|
||||
(0, _expect.setState)({
|
||||
currentTestName: (0, _utils.getTestID)(event.test)
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
case 'test_done': {
|
||||
_addSuppressedErrors(event.test);
|
||||
|
||||
_addExpectedAssertionErrors(event.test);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const _addExpectedAssertionErrors = test => {
|
||||
const failures = (0, _expect.extractExpectedAssertionsErrors)();
|
||||
const errors = failures.map(failure => failure.error);
|
||||
test.errors = test.errors.concat(errors);
|
||||
}; // Get suppressed errors from ``jest-matchers`` that weren't throw during
|
||||
// test execution and add them to the test result, potentially failing
|
||||
// a passing test.
|
||||
|
||||
const _addSuppressedErrors = test => {
|
||||
const {suppressedErrors} = (0, _expect.getState)();
|
||||
(0, _expect.setState)({
|
||||
suppressedErrors: []
|
||||
});
|
||||
|
||||
if (suppressedErrors.length) {
|
||||
test.errors = test.errors.concat(suppressedErrors);
|
||||
}
|
||||
};
|
11
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.d.ts
generated
vendored
Normal file
11
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import type { Config } from '@jest/types';
|
||||
import expect = require('expect');
|
||||
export declare type Expect = typeof expect;
|
||||
declare const _default: (config: Pick<Config.GlobalConfig, 'expand'>) => Expect;
|
||||
export default _default;
|
39
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js
generated
vendored
Normal file
39
web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _expect = _interopRequireDefault(require('expect'));
|
||||
|
||||
var _jestSnapshot = require('jest-snapshot');
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
var _default = config => {
|
||||
_expect.default.setState({
|
||||
expand: config.expand
|
||||
});
|
||||
|
||||
_expect.default.extend({
|
||||
toMatchInlineSnapshot: _jestSnapshot.toMatchInlineSnapshot,
|
||||
toMatchSnapshot: _jestSnapshot.toMatchSnapshot,
|
||||
toThrowErrorMatchingInlineSnapshot:
|
||||
_jestSnapshot.toThrowErrorMatchingInlineSnapshot,
|
||||
toThrowErrorMatchingSnapshot: _jestSnapshot.toThrowErrorMatchingSnapshot
|
||||
});
|
||||
|
||||
_expect.default.addSnapshotSerializer = _jestSnapshot.addSerializer;
|
||||
return _expect.default;
|
||||
};
|
||||
|
||||
exports.default = _default;
|
Loading…
Add table
Add a link
Reference in a new issue