Skip to content

Commit c411cdb

Browse files
committed
test: update fixtures
1 parent e703b87 commit c411cdb

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/operate/lib/replace-with/replace-with.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ test('putout: operate: replaceWith: parentPath', (t) => {
178178
import {createTest} from '@putout/test';
179179
180180
const removeDebugger = require('..');
181+
181182
const test = createTest(import.meta.url, {
182183
'remove-debugger': removeDebugger,
183184
});

packages/operator-declare/lib/declare.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ test('putout: operator: declare: vars', (t) => {
353353
const expected = montag`
354354
const maybeFn = (a) => isFn(a) ? a : noop;
355355
const maybeArray = (a) => isArray(a) ? a : [a];
356+
356357
const b = [
357358
...maybeArray(a),
358359
maybeFn(b),
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const dir = value;
22
const a = 'hi';
3+
34
const obj = {
45
a: dir,
56
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const fn1 = isFn(a) ? a : noop;
22
const fn2 = isFn(a) ? a : () => hello();
3+
34
const fn3 = isFn(a) ? a : () => {
45
abc();
56
};

packages/plugin-nodejs/lib/declare/fixture/readable-fix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {Readable} from 'node:stream';
55
test('cloudcmd: route: content length', async (t) => {
66
const path = '';
77
const files = [];
8+
89
const stream = Readable.from(stringify({
910
path,
1011
files,

packages/plugin-printer/test/fixture/check-if-success-possible-in-type-checker-fix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {types} from '@putout/babel';
22

33
const {isObjectExpression} = types;
4+
45
const isSimple = createTypeChecker([
56
'-: -> SpreadElement',
67
'-: -> Identifier',

packages/plugin-putout/test/fixture/move-require-on-top-level-fix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {createTest} from '@putout/test';
22

33
const removeDebugger = require('..');
4+
45
const test = createTest(import.meta.url, {
56
'remove-debugger': removeDebugger,
67
});

packages/plugin-putout/test/fixture/remove-unused-get-properties-argument-fix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {operator} from 'putout';
22

33
const {getProperties} = operator;
4+
45
const {
56
overridesPath,
67
parserPath,

0 commit comments

Comments
 (0)