[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix(deps): update ivya to fix empty aria tree snapshot (#10218)

authored by

Hiroshi Ogawa and committed by
GitHub
(Apr 28, 2026, 2:27 PM +0200) f7822ebf 5ec8d456

+48 -10
+5 -5
pnpm-lock.yaml
··· 573 573 specifier: 'catalog:' 574 574 version: 3.4.2 575 575 ivya: 576 - specifier: ^1.8.0 577 - version: 1.8.0 576 + specifier: ^1.8.1 577 + version: 1.8.1 578 578 mime: 579 579 specifier: ^4.1.0 580 580 version: 4.1.0 ··· 7820 7820 resolution: {integrity: sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==} 7821 7821 engines: {node: '>=8'} 7822 7822 7823 - ivya@1.8.0: 7824 - resolution: {integrity: sha512-8qFMisQ9Y+rTy4kZZnD/+I5X3R4MMN0bR1Phnguub+MAk5FiMfOSNC45vItoUfkJGhhNbICIVOqxDFpOso1Wjg==} 7823 + ivya@1.8.1: 7824 + resolution: {integrity: sha512-/0JJuIGSfzsNxIyoFQEPsZ/pGl5Chso3s0LHGdzcR2xD2CexQFjxYWaMrzs7LOYnNO2GONvDvEMadJcBxznGSg==} 7825 7825 7826 7826 jackspeak@3.4.0: 7827 7827 resolution: {integrity: sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==} ··· 16777 16777 html-escaper: 2.0.2 16778 16778 istanbul-lib-report: 3.0.1 16779 16779 16780 - ivya@1.8.0: {} 16780 + ivya@1.8.1: {} 16781 16781 16782 16782 jackspeak@3.4.0: 16783 16783 dependencies:
+1 -1
packages/browser/package.json
··· 91 91 "@vitest/runner": "workspace:*", 92 92 "birpc": "catalog:", 93 93 "flatted": "catalog:", 94 - "ivya": "^1.8.0", 94 + "ivya": "^1.8.1", 95 95 "mime": "^4.1.0", 96 96 "pathe": "catalog:", 97 97 "rrweb-snapshot": "2.0.0-alpha.20",
+10 -2
test/snapshots/test/domain-aria-inline.test.ts
··· 18 18 expect(result.errorTree()).toMatchInlineSnapshot(` 19 19 Object { 20 20 "basic.test.ts": Object { 21 + "empty": "passed", 21 22 "semantic match with regex in snapshot": "passed", 22 23 "simple heading": "passed", 23 24 }, ··· 34 35 - paragraph: Original 35 36 - button "1234": Pattern 36 37 \`) 38 + 39 + expect(document.body).toMatchAriaInlineSnapshot(\`\`) 37 40 " 38 41 `) 39 42 expect(result.ctx?.snapshot.summary).toMatchInlineSnapshot(` 40 43 Object { 41 - "added": 2, 44 + "added": 3, 42 45 "didUpdate": false, 43 46 "failure": false, 44 47 "filesAdded": 1, ··· 47 50 "filesUnmatched": 0, 48 51 "filesUpdated": 0, 49 52 "matched": 0, 50 - "total": 2, 53 + "total": 3, 51 54 "unchecked": 0, 52 55 "uncheckedKeysByFile": Array [], 53 56 "unmatched": 0, ··· 66 69 expect(result.errorTree()).toMatchInlineSnapshot(` 67 70 Object { 68 71 "basic.test.ts": Object { 72 + "empty": "passed", 69 73 "semantic match with regex in snapshot": "passed", 70 74 "simple heading": "passed", 71 75 }, ··· 111 115 expect(result.errorTree()).toMatchInlineSnapshot(` 112 116 Object { 113 117 "basic.test.ts": Object { 118 + "empty": "passed", 114 119 "semantic match with regex in snapshot": Array [ 115 120 "Snapshot \`semantic match with regex in snapshot 1\` mismatched", 116 121 ], ··· 125 130 expect(result.errorTree()).toMatchInlineSnapshot(` 126 131 Object { 127 132 "basic.test.ts": Object { 133 + "empty": "passed", 128 134 "semantic match with regex in snapshot": "passed", 129 135 "simple heading": "passed", 130 136 }, ··· 143 149 - paragraph: Changed 144 150 - button /\\\\d+/: Pattern 145 151 \`) 152 + 153 + expect(document.body).toMatchAriaInlineSnapshot(\`\`) 146 154 " 147 155 `) 148 156 })
+18 -2
test/snapshots/test/domain-aria.test.ts
··· 17 17 expect(result.errorTree()).toMatchInlineSnapshot(` 18 18 Object { 19 19 "basic.test.ts": Object { 20 + "empty": "passed", 20 21 "semantic match with regex in snapshot": "passed", 21 22 "simple heading and paragraph": "passed", 22 23 }, ··· 24 25 `) 25 26 expect(readFileSync(snapshotFile, 'utf-8')).toMatchInlineSnapshot(` 26 27 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html 28 + 29 + exports[\`empty 1\`] = \` 30 + 31 + \`; 27 32 28 33 exports[\`semantic match with regex in snapshot 1\`] = \` 29 34 - paragraph: Original ··· 38 43 `) 39 44 expect(result.ctx?.snapshot.summary).toMatchInlineSnapshot(` 40 45 Object { 41 - "added": 2, 46 + "added": 3, 42 47 "didUpdate": false, 43 48 "failure": false, 44 49 "filesAdded": 1, ··· 47 52 "filesUnmatched": 0, 48 53 "filesUpdated": 0, 49 54 "matched": 0, 50 - "total": 2, 55 + "total": 3, 51 56 "unchecked": 0, 52 57 "uncheckedKeysByFile": Array [], 53 58 "unmatched": 0, ··· 65 70 expect(result.errorTree()).toMatchInlineSnapshot(` 66 71 Object { 67 72 "basic.test.ts": Object { 73 + "empty": "passed", 68 74 "semantic match with regex in snapshot": "passed", 69 75 "simple heading and paragraph": "passed", 70 76 }, ··· 72 78 `) 73 79 expect(readFileSync(snapshotFile, 'utf-8')).toMatchInlineSnapshot(` 74 80 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html 81 + 82 + exports[\`empty 1\`] = \` 83 + 84 + \`; 75 85 76 86 exports[\`semantic match with regex in snapshot 1\`] = \` 77 87 - paragraph: Original ··· 124 134 expect(result.errorTree()).toMatchInlineSnapshot(` 125 135 Object { 126 136 "basic.test.ts": Object { 137 + "empty": "passed", 127 138 "semantic match with regex in snapshot": Array [ 128 139 "Snapshot \`semantic match with regex in snapshot 1\` mismatched", 129 140 ], ··· 138 149 expect(result.errorTree()).toMatchInlineSnapshot(` 139 150 Object { 140 151 "basic.test.ts": Object { 152 + "empty": "passed", 141 153 "semantic match with regex in snapshot": "passed", 142 154 "simple heading and paragraph": "passed", 143 155 }, ··· 145 157 `) 146 158 expect(readFileSync(snapshotFile, 'utf-8')).toMatchInlineSnapshot(` 147 159 "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html 160 + 161 + exports[\`empty 1\`] = \` 162 + 163 + \`; 148 164 149 165 exports[\`semantic match with regex in snapshot 1\`] = \` 150 166 - paragraph: Changed
+7
test/snapshots/test/fixtures/domain-aria-inline/basic.test.ts
··· 21 21 - button "1234": Pattern 22 22 `) 23 23 }) 24 + 25 + test("empty", () => { 26 + document.body.innerHTML = ` 27 + <button aria-hidden="true">Hidden</button> 28 + ` 29 + expect(document.body).toMatchAriaInlineSnapshot() 30 + })
+7
test/snapshots/test/fixtures/domain-aria/basic.test.ts
··· 19 19 ` 20 20 expect(document.body).toMatchAriaSnapshot() 21 21 }) 22 + 23 + test("empty", () => { 24 + document.body.innerHTML = ` 25 + <button aria-hidden="true">Hidden</button> 26 + ` 27 + expect(document.body).toMatchAriaSnapshot() 28 + })