-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtool.componentSchemas.test.ts.snap
More file actions
57 lines (52 loc) · 1.02 KB
/
tool.componentSchemas.test.ts.snap
File metadata and controls
57 lines (52 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`componentSchemasTool should have a consistent return structure: structure 1`] = `
{
"callback": [Function],
"name": "componentSchemas",
"schema": true,
}
`;
exports[`componentSchemasTool, callback should parse parameters, default 1`] = `
{
"content": [
{
"text": "| Prop | Type |
|---|---|",
"type": "text",
},
],
}
`;
exports[`componentSchemasTool, callback should parse parameters, with lower case componentName 1`] = `
{
"content": [
{
"text": "| Prop | Type |
|---|---|",
"type": "text",
},
],
}
`;
exports[`componentSchemasTool, callback should parse parameters, with trimmed componentName 1`] = `
{
"content": [
{
"text": "| Prop | Type |
|---|---|",
"type": "text",
},
],
}
`;
exports[`componentSchemasTool, callback should parse parameters, with upper case componentName 1`] = `
{
"content": [
{
"text": "| Prop | Type |
|---|---|",
"type": "text",
},
],
}
`;