rename utils

This commit is contained in:
Ben Irvin 2023-01-24 09:35:09 +01:00
parent 4eaf02c430
commit d98d297b25
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
'use strict';
const { expectExit } = require('./shared/test.utils');
const { expectExit } = require('./shared/transfer.test.utils');
describe('Export', () => {
const defaultFileName = 'defaultFilename';

View File

@ -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 {