mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
rename utils
This commit is contained in:
parent
4eaf02c430
commit
d98d297b25
@ -4,7 +4,7 @@ module.exports = {
|
||||
rootDir: __dirname,
|
||||
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],
|
||||
modulePathIgnorePatterns: ['.cache', 'dist'],
|
||||
testPathIgnorePatterns: ['.testdata.js', 'test.utils.js'],
|
||||
testPathIgnorePatterns: ['.testdata.js', '.test.utils.js'],
|
||||
testMatch: ['/**/__tests__/**/*.[jt]s?(x)'],
|
||||
// Use `jest-watch-typeahead` version 0.6.5. Newest version 1.0.0 does not support jest@26
|
||||
// Reference: https://github.com/jest-community/jest-watch-typeahead/releases/tag/v1.0.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const { expectExit } = require('./shared/test.utils');
|
||||
const { expectExit } = require('./shared/transfer.test.utils');
|
||||
|
||||
describe('Export', () => {
|
||||
const defaultFileName = 'defaultFilename';
|
||||
|
||||
@ -6,7 +6,7 @@ const {
|
||||
DEFAULT_VERSION_STRATEGY,
|
||||
} = require('@strapi/data-transfer');
|
||||
|
||||
const { expectExit } = require('./shared/test.utils');
|
||||
const { expectExit } = require('./shared/transfer.test.utils');
|
||||
|
||||
const createTransferEngine = jest.fn(() => {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user