jest update

This commit is contained in:
Paul Sealock 2019-01-04 14:26:55 +13:00
parent c75777cd11
commit d6c5f47ee1
3 changed files with 7 additions and 6 deletions

View File

@ -39,6 +39,7 @@
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
"test:watch": "npm run test -- --watch",
"test:update-snapshots": "jest --updateSnapshot --config tests/js/jest.config.json",
"jest:update": "jest -u --config=tests/js/jest.config.json",
"docs": "node ./bin/generate-docs",
"publish:check": "npm run build:packages && lerna updated",
"publish:dev": "npm run build:packages && lerna publish from-package --npm-tag next",

View File

@ -20,7 +20,7 @@ exports[`SplitButton it should render a simple split button 1`] = `
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-arrow-down"
focusable="false"
height={20}
@ -60,7 +60,7 @@ exports[`SplitButton it should render a split button with Foo as main label 1`]
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-arrow-down"
focusable="false"
height={20}
@ -103,7 +103,7 @@ exports[`SplitButton it should render a split button with a menu label 1`] = `
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-arrow-down"
focusable="false"
height={20}
@ -141,7 +141,7 @@ exports[`SplitButton it should render a split button with isPrimary theme 1`] =
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-arrow-down"
focusable="false"
height={20}
@ -193,7 +193,7 @@ exports[`SplitButton it should render a split button with pencil as main button
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-arrow-down"
focusable="false"
height={20}

View File

@ -77,7 +77,7 @@ exports[`Tag <Tag label="foo" remove={ noop } /> should render a tag with a clos
type="button"
>
<svg
aria-hidden={true}
aria-hidden="true"
className="dashicon dashicons-dismiss"
focusable="false"
height={20}