Ensure components tests run on CI and remove obsolete snapshot (#23878)

* Ensure components tests run on CI and remove obsolete snapshot

* Add missing snapshots
Этот коммит содержится в:
Harrison Healey
2023-06-28 14:58:23 -04:00
коммит произвёл GitHub
родитель 9588e08a00
Коммит e8353d2982
2 изменённых файлов: 2 добавлений и 9 удалений

Просмотреть файл

@@ -9,6 +9,7 @@
"build": "rollup -c", "build": "rollup -c",
"run": "rollup -c --watch", "run": "rollup -c --watch",
"test": "cross-env TZ=Etc/UTC jest", "test": "cross-env TZ=Etc/UTC jest",
"test-ci": "cross-env TZ=Etc/UTC jest",
"clean": "rm -rf dist node_modules tsconfig.tsbuildinfo .rollup.cache" "clean": "rm -rf dist node_modules tsconfig.tsbuildinfo .rollup.cache"
}, },
"devDependencies": { "devDependencies": {

Просмотреть файл

@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`LegacyGenericModal should match snapshot for base case 1`] = ` exports[`GenericModal should match snapshot for base case 1`] = `
Object { Object {
"asFragment": [Function], "asFragment": [Function],
"baseElement": <body "baseElement": <body
@@ -31,10 +31,6 @@ Object {
class="modal-content" class="modal-content"
role="document" role="document"
> >
<div
data-testid="sentinelStart"
tabindex="-1"
/>
<div <div
class="GenericModal__wrapper-enter-key-press-catcher" class="GenericModal__wrapper-enter-key-press-catcher"
tabindex="0" tabindex="0"
@@ -76,10 +72,6 @@ Object {
/> />
</div> </div>
</div> </div>
<div
data-testid="sentinelEnd"
tabindex="-1"
/>
</div> </div>
</div> </div>
</div> </div>