From 9c69d879ad76e326b9c3976929f7eab2bcf22371 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 6 Apr 2024 10:13:18 -0700 Subject: [PATCH] test: run `bun test --update-snapshots` --- .../writer-ts-definitions.test.ts.snap | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/tests/__snapshots__/writer-ts-definitions.test.ts.snap b/tests/__snapshots__/writer-ts-definitions.test.ts.snap index 763778b..478fb9b 100644 --- a/tests/__snapshots__/writer-ts-definitions.test.ts.snap +++ b/tests/__snapshots__/writer-ts-definitions.test.ts.snap @@ -1,27 +1,6 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html +// Bun Snapshot v1, https://goo.gl/fbAQLP -exports[`writerTsDefinition > "default" module name 1`] = ` -" - import type { SvelteComponentTyped } from "svelte"; - - - - - export interface defaultProps { - - } - - - export default class extends SvelteComponentTyped< - defaultProps, - Record, - {} - > { - - }" -`; - -exports[`writerTsDefinition > writeTsDefinition 1`] = ` +exports[`writerTsDefinition writeTsDefinition 1`] = ` " import type { SvelteComponentTyped } from "svelte"; @@ -68,3 +47,24 @@ exports[`writerTsDefinition > writeTsDefinition 1`] = ` propConst: { [key: string]: boolean; }; }" `; + +exports[`writerTsDefinition "default" module name 1`] = ` +" + import type { SvelteComponentTyped } from "svelte"; + + + + + export interface defaultProps { + + } + + + export default class extends SvelteComponentTyped< + defaultProps, + Record, + {} + > { + + }" +`;