@@ -17,6 +17,7 @@ test('aria snapshot', async () => {
1717 expect ( result . errorTree ( ) ) . toMatchInlineSnapshot ( `
1818 Object {
1919 "basic.test.ts": Object {
20+ "empty": "passed",
2021 "semantic match with regex in snapshot": "passed",
2122 "simple heading and paragraph": "passed",
2223 },
@@ -25,6 +26,10 @@ test('aria snapshot', async () => {
2526 expect ( readFileSync ( snapshotFile , 'utf-8' ) ) . toMatchInlineSnapshot ( `
2627 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2728
29+ exports[\`empty 1\`] = \`
30+
31+ \`;
32+
2833 exports[\`semantic match with regex in snapshot 1\`] = \`
2934 - paragraph: Original
3035 - button "1234": Pattern
@@ -38,7 +43,7 @@ test('aria snapshot', async () => {
3843 ` )
3944 expect ( result . ctx ?. snapshot . summary ) . toMatchInlineSnapshot ( `
4045 Object {
41- "added": 2 ,
46+ "added": 3 ,
4247 "didUpdate": false,
4348 "failure": false,
4449 "filesAdded": 1,
@@ -47,7 +52,7 @@ test('aria snapshot', async () => {
4752 "filesUnmatched": 0,
4853 "filesUpdated": 0,
4954 "matched": 0,
50- "total": 2 ,
55+ "total": 3 ,
5156 "unchecked": 0,
5257 "uncheckedKeysByFile": Array [],
5358 "unmatched": 0,
@@ -65,6 +70,7 @@ test('aria snapshot', async () => {
6570 expect ( result . errorTree ( ) ) . toMatchInlineSnapshot ( `
6671 Object {
6772 "basic.test.ts": Object {
73+ "empty": "passed",
6874 "semantic match with regex in snapshot": "passed",
6975 "simple heading and paragraph": "passed",
7076 },
@@ -73,6 +79,10 @@ test('aria snapshot', async () => {
7379 expect ( readFileSync ( snapshotFile , 'utf-8' ) ) . toMatchInlineSnapshot ( `
7480 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
7581
82+ exports[\`empty 1\`] = \`
83+
84+ \`;
85+
7686 exports[\`semantic match with regex in snapshot 1\`] = \`
7787 - paragraph: Original
7888 - button /\\\\d+/: Pattern
@@ -124,6 +134,7 @@ test('aria snapshot', async () => {
124134 expect ( result . errorTree ( ) ) . toMatchInlineSnapshot ( `
125135 Object {
126136 "basic.test.ts": Object {
137+ "empty": "passed",
127138 "semantic match with regex in snapshot": Array [
128139 "Snapshot \`semantic match with regex in snapshot 1\` mismatched",
129140 ],
@@ -138,6 +149,7 @@ test('aria snapshot', async () => {
138149 expect ( result . errorTree ( ) ) . toMatchInlineSnapshot ( `
139150 Object {
140151 "basic.test.ts": Object {
152+ "empty": "passed",
141153 "semantic match with regex in snapshot": "passed",
142154 "simple heading and paragraph": "passed",
143155 },
@@ -146,6 +158,10 @@ test('aria snapshot', async () => {
146158 expect ( readFileSync ( snapshotFile , 'utf-8' ) ) . toMatchInlineSnapshot ( `
147159 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
148160
161+ exports[\`empty 1\`] = \`
162+
163+ \`;
164+
149165 exports[\`semantic match with regex in snapshot 1\`] = \`
150166 - paragraph: Changed
151167 - button /\\\\d+/: Pattern
0 commit comments