Skip to content

Commit cb72d35

Browse files
committed
chore: update snapshot tests and add command to update snapshots
1 parent d4f14b9 commit cb72d35

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"test:integration": "npm run test:jest -- --selectProjects integration",
116116
"test:jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
117117
"test:unit": "npm run test:jest -- --selectProjects unit",
118+
"test:update:snapshot": "npm run test:jest -- --updateSnapshot",
118119
"test": "run-s test:jest test:e2e",
119120
"watch:css": "run-p 'build:css -- --watch' 'build:css:min -- --watch'",
120121
"watch:js": "npm run build:js -- --watch"

test/integration/__snapshots__/docs.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`Docs Site coverpage renders and is unchanged 1`] = `
1717
exports[`Docs Site navbar renders and is unchanged 1`] = `
1818
"<nav class="app-nav" aria-label="secondary"><!-- markdownlint-disable first-line-h1 -->
1919
20-
<ul><li><p>Translations</p><ul><li><a href="#/">English</a></li><li><a href="#/zh-cn/">简体中文</a></li><li><a href="#/de-de/">Deutsch</a></li><li><a href="#/es/">Español</a></li><li><a href="#/ru-ru/">Русский</a></li></ul></li></ul></nav>"
20+
<ul><li><p>Translations</p><ul><li><a href="#/">English</a></li><li><a href="#/zh-cn/">简体中文</a></li></ul></li></ul></nav>"
2121
`;
2222
2323
exports[`Docs Site sidebar renders and is unchanged 1`] = `

0 commit comments

Comments
 (0)