Skip to content

Commit a13aaa0

Browse files
committed
test: eslint-plugin-putout: coverage
1 parent 209696f commit a13aaa0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/eslint-plugin-putout/lib/putout/index.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ parserTester.run('putout: tape', rule, {
170170
output: montag`
171171
import {createMockImport} from 'mock-import';
172172
173-
const {mockImport, reImport} = createMockImport(import.meta.url);
173+
const {reImport} = createMockImport(import.meta.url);
174+
const {mockImport} = createMockImport(import.meta.url);
174175
175176
mockImport('tape', check);
176177
await reImport('./index.js');\n
@@ -234,7 +235,8 @@ parserTester.run('putout', rule, {
234235
output: montag`
235236
import {createMockImport} from 'mock-import';
236237
237-
const {mockImport, reImport} = createMockImport(import.meta.url);
238+
const {reImport} = createMockImport(import.meta.url);
239+
const {mockImport} = createMockImport(import.meta.url);
238240
239241
mockImport('hello', world);
240242
await reImport('./index.js');\n

0 commit comments

Comments
 (0)