Skip to content

Commit d5e9bcd

Browse files
committed
update snapshots for tests
1 parent 74fb582 commit d5e9bcd

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

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

33
exports[`errorMessageBlock creates an error message div 1`] = `
44
<div
5-
style="margin: 0.1em; padding: 0.5em; color: black; border: 0.05em solid gray; background-color: rgb(255, 238, 238);"
5+
style="background-color: rgb(255, 238, 238);"
66
>
77
my error message
88
<button
9-
style="width: 2em; height: 2em;"
9+
style=""
1010
type="button"
1111
>
1212
<img
@@ -20,11 +20,11 @@ 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; color: black; border: 0.05em solid gray; background-color: rgb(255, 238, 238);"
23+
style="background-color: rgb(255, 238, 238);"
2424
>
2525
my &lt;script&gt; kiddie &lt;/script&gt; message
2626
<button
27-
style="width: 2em; height: 2em;"
27+
style=""
2828
type="button"
2929
>
3030
<img
@@ -38,11 +38,11 @@ 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; color: black; border: 0.05em solid gray; background-color: rgb(0, 255, 255);"
41+
style="background-color: rgb(0, 255, 255);"
4242
>
4343
my colored message
4444
<button
45-
style="width: 2em; height: 2em;"
45+
style=""
4646
type="button"
4747
>
4848
<img

test/unit/widgets/forms/__snapshots__/basic.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ exports[`basicField creates a basic field 1`] = `
6060

6161
exports[`basicField shows error if no property given 1`] = `
6262
<div
63-
style="margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color: black; background-color: rgb(255, 238, 238);"
63+
style="background-color: rgb(255, 238, 238);"
6464
>
6565
Error: No property given for text field: &lt;http://example.com/#form&gt;
6666
<button
67-
style="width: 2em; height: 2em;"
67+
style=""
6868
type="button"
6969
>
7070
<img

test/unit/widgets/forms/autocomplete/__snapshots__/autocomplete.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`autocompleteField adds the autocomplete field to the container, if prov
55
<div>
66
<div
77
class="formFieldName"
8-
style="padding: 0.3em; vertical-align: middle; width:8em;"
8+
style="undefined"
99
>
1010
<a
1111
href="http://www.w3.org/ns/solid/terms#publicId"
@@ -25,7 +25,7 @@ exports[`autocompleteField clicking on row of greenn table then accecpt button s
2525
<div>
2626
<div
2727
class="formFieldName"
28-
style="padding: 0.3em; vertical-align: middle; width:8em;"
28+
style="undefined"
2929
>
3030
<a
3131
href="http://www.w3.org/ns/solid/terms#publicId"
@@ -116,7 +116,7 @@ exports[`autocompleteField creates a autocomplete field 1`] = `
116116
<div>
117117
<div
118118
class="formFieldName"
119-
style="padding: 0.3em; vertical-align: middle; width:8em;"
119+
style="undefined"
120120
>
121121
<a
122122
href="http://www.w3.org/ns/solid/terms#publicId"
@@ -242,7 +242,7 @@ exports[`autocompleteField typing more search term till unique selects the whole
242242
<div>
243243
<div
244244
class="formFieldName"
245-
style="padding: 0.3em; vertical-align: middle; width:8em;"
245+
style="undefined"
246246
>
247247
<a
248248
href="http://www.w3.org/ns/solid/terms#publicId"

0 commit comments

Comments
 (0)