Skip to content

Commit d33bbd4

Browse files
committed
updated uuid and fixed tests
1 parent 49b5d7b commit d33bbd4

4 files changed

Lines changed: 51 additions & 10 deletions

File tree

jest.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export default {
1010
transform: {
1111
'^.+\\.[tj]sx?$': ['babel-jest', { configFile: './babel.config.mjs' }],
1212
},
13-
transformIgnorePatterns: ['/node_modules/(?!(lit-html|@exodus/bytes)/).+\\.js'],
13+
transformIgnorePatterns: [
14+
'<rootDir>/node_modules/(?!(lit-html|@exodus/bytes|uuid|jsdom|parse5)/)',
15+
],
1416
setupFilesAfterEnv: ['./test/helpers/setup.ts'],
1517
testMatch: ['**/?(*.)+(spec|test).[tj]s?(x)'],
1618
roots: ['<rootDir>/src', '<rootDir>/test', '<rootDir>/__mocks__'],

package-lock.json

Lines changed: 44 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"mime-types": "^3.0.2",
7272
"pane-registry": "^3.0.0",
7373
"solid-namespace": "^0.5.4",
74-
"uuid": "^11.1.0"
74+
"uuid": "^13.0.0"
7575
},
7676
"peerDependencies": {
7777
"rdflib": "^2.3.0",

test/unit/widgets/__snapshots__/error.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`errorMessageBlock creates an error message div 1`] = `
44
<div
5-
style="margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color: black; background-color: rgb(255, 238, 238);"
5+
style="margin: 0.1em; padding: 0.5em; color: black; border: 0.05em solid gray; background-color: rgb(255, 238, 238);"
66
>
77
my error message
88
<button
@@ -20,7 +20,7 @@ exports[`errorMessageBlock creates an error message div 1`] = `
2020

2121
exports[`errorMessageBlock escapes the HTML 1`] = `
2222
<div
23-
style="margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color: black; background-color: rgb(255, 238, 238);"
23+
style="margin: 0.1em; padding: 0.5em; color: black; border: 0.05em solid gray; background-color: rgb(255, 238, 238);"
2424
>
2525
my &lt;script&gt; kiddie &lt;/script&gt; message
2626
<button
@@ -38,7 +38,7 @@ exports[`errorMessageBlock escapes the HTML 1`] = `
3838

3939
exports[`errorMessageBlock sets the background color 1`] = `
4040
<div
41-
style="margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color: black; background-color: rgb(0, 255, 255);"
41+
style="margin: 0.1em; padding: 0.5em; color: black; border: 0.05em solid gray; background-color: rgb(0, 255, 255);"
4242
>
4343
my colored message
4444
<button

0 commit comments

Comments
 (0)