Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
u3u committed Nov 13, 2023
1 parent 851bda4 commit f33d3d9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/__fixtures__/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@ import type{Config} from 'prettier'
const obj=/** @type { const} */({
name:"test"
})

const i = 0

const message =
i % 3 === 0 && i % 5 === 0
? "fizzbuzz"
: i % 3 === 0
? "fizz"
: i % 5 === 0
? "buzz"
: i % 6 === 0 ? "foo": String(i);
13 changes: 13 additions & 0 deletions test/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ import { defineConfig, extendConfig, withSortPlugin } from '../../src/utils';
const obj = /** @type {const} */ {
name: 'test',
};
const i = 0;
const message =
i % 3 === 0 && i % 5 === 0
? 'fizzbuzz'
: i % 3 === 0
? 'fizz'
: i % 5 === 0
? 'buzz'
: i % 6 === 0
? 'foo'
: String(i);
"
`;

Expand Down

0 comments on commit f33d3d9

Please sign in to comment.