diff --git a/src/__tests__/components.test.ts b/src/__tests__/components.test.ts index a93b437e..5b410bb0 100644 --- a/src/__tests__/components.test.ts +++ b/src/__tests__/components.test.ts @@ -1,5 +1,5 @@ import path from 'path' -import { cases } from '../testUtils' +import { cases } from '../utils/testUtils' const filename = path.resolve(__dirname, '..', '__fixtures__', 'messages.js') diff --git a/src/__tests__/hook.test.ts b/src/__tests__/hook.test.ts index e1a88d5d..45d90a67 100644 --- a/src/__tests__/hook.test.ts +++ b/src/__tests__/hook.test.ts @@ -1,5 +1,5 @@ import path from 'path' -import { cases } from '../testUtils' +import { cases } from '../utils/testUtils' const filename = path.resolve(__dirname, '..', '__fixtures__', 'messages.js') diff --git a/src/__tests__/index.test.ts b/src/__tests__/index.test.ts index 6a460ac6..c880c27e 100644 --- a/src/__tests__/index.test.ts +++ b/src/__tests__/index.test.ts @@ -1,5 +1,5 @@ import path from 'path' -import { cases } from '../testUtils' +import { cases } from '../utils/testUtils' const filename = path.resolve(__dirname, '..', '__fixtures__', 'messages.js') diff --git a/src/__tests__/injection.test.ts b/src/__tests__/injection.test.ts index 2885876a..5655e52c 100644 --- a/src/__tests__/injection.test.ts +++ b/src/__tests__/injection.test.ts @@ -1,5 +1,5 @@ import path from 'path' -import { cases } from '../testUtils' +import { cases } from '../utils/testUtils' const filename = path.resolve(__dirname, '..', '__fixtures__', 'messages.js') diff --git a/src/testUtils.ts b/src/utils/testUtils.ts similarity index 91% rename from src/testUtils.ts rename to src/utils/testUtils.ts index 573b97f9..b23c96cb 100644 --- a/src/testUtils.ts +++ b/src/utils/testUtils.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line import/no-extraneous-dependencies import pluginTester from 'babel-plugin-tester' -import { Opts } from './types' -import plugin from '.' +import { Opts } from '../types' +import plugin from '..' export function cases( filename: string,