Skip to content

Commit 5019f99

Browse files
committed
test: update snapshots
1 parent ee39d5f commit 5019f99

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

packages/component-meta/tests/index.spec.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,28 +1327,28 @@ const worker = (checker: ComponentMetaChecker, withTsconfig: boolean) =>
13271327

13281328
const propObjectDefault = meta.props.find(prop => prop.name === 'objectDefault');
13291329
expect(propObjectDefault).toMatchInlineSnapshot(`
1330-
{
1331-
"declarations": [],
1332-
"default": "{
1333-
foo: "bar"
1334-
}",
1335-
"description": "Default function Object",
1336-
"global": false,
1337-
"name": "objectDefault",
1338-
"rawType": undefined,
1339-
"required": false,
1340-
"schema": {
1341-
"kind": "enum",
1342-
"schema": [
1343-
"undefined",
1344-
"Record<string, any>",
1345-
],
1346-
"type": "Record<string, any> | undefined",
1347-
},
1348-
"tags": [],
1349-
"type": "Record<string, any> | undefined",
1350-
}
1351-
`);
1330+
{
1331+
"declarations": [],
1332+
"default": "{
1333+
foo: "bar",
1334+
}",
1335+
"description": "Default function Object",
1336+
"global": false,
1337+
"name": "objectDefault",
1338+
"rawType": undefined,
1339+
"required": false,
1340+
"schema": {
1341+
"kind": "enum",
1342+
"schema": [
1343+
"undefined",
1344+
"Record<string, any>",
1345+
],
1346+
"type": "Record<string, any> | undefined",
1347+
},
1348+
"tags": [],
1349+
"type": "Record<string, any> | undefined",
1350+
}
1351+
`);
13521352

13531353
const propArrayDefault = meta.props.find(prop => prop.name === 'arrayDefault');
13541354
expect(propArrayDefault).toMatchInlineSnapshot(`

packages/tsc/tests/__snapshots__/dts.spec.ts.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -562,17 +562,17 @@ declare const categories: readonly ["Uncategorized", "Content", "Interaction", "
562562
type MyCategories = typeof categories[number];
563563
export interface MyProps {
564564
/**
565-
* string foo
566-
*
567-
* @default "rounded"
568-
* @since v1.0.0
569-
* @see https://vuejs.org/
570-
* @example
571-
* \`\`\`vue
572-
* <template>
573-
* <component foo="straight" />
574-
* </template>
575-
* \`\`\`
565+
* string foo
566+
*
567+
* @default "rounded"
568+
* @since v1.0.0
569+
* @see https://vuejs.org/
570+
* @example
571+
* \`\`\`vue
572+
* <template>
573+
* <component foo="straight" />
574+
* </template>
575+
* \`\`\`
576576
*/
577577
foo: string;
578578
/**

0 commit comments

Comments
 (0)