-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: rare-magma <[email protected]>
- Loading branch information
1 parent
6ea6da4
commit c93091f
Showing
14 changed files
with
173 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 1 addition & 31 deletions
32
src/components/ErrorModal/__snapshots__/ErrorModal.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,3 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`ErrorModal > matches snapshot 1`] = ` | ||
<ErrorModal | ||
csvError={ | ||
[ | ||
{ | ||
"errors": [ | ||
{ | ||
"code": "TooFewFields", | ||
"message": "Line 0: Too few fields: expected 3 fields but parsed 2", | ||
"row": 0, | ||
"type": "FieldMismatch", | ||
}, | ||
], | ||
"file": "123.csv", | ||
}, | ||
] | ||
} | ||
error="Thrown error" | ||
jsonError={ | ||
[ | ||
{ | ||
"errors": "SyntaxError: Expected ',' or '}' after property value in JSON at position 209", | ||
"file": "123.json", | ||
}, | ||
] | ||
} | ||
onError={[MockFunction spy]} | ||
onShow={[MockFunction spy]} | ||
show={true} | ||
/> | ||
`; | ||
exports[`ErrorModal > matches snapshot 1`] = `<ErrorModal />`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 1 addition & 19 deletions
20
src/components/LandingPage/__snapshots__/LandingPage.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`LandingPage > matches snapshot 1`] = ` | ||
<LandingPage | ||
inputRef={ | ||
{ | ||
"current": <input | ||
class="form-control" | ||
data-testid="import-form-control-landing-page" | ||
id="import" | ||
multiple="" | ||
style="display: none;" | ||
type="file" | ||
/>, | ||
} | ||
} | ||
loading={false} | ||
onImport={[MockFunction spy]} | ||
onNew={[MockFunction spy]} | ||
/> | ||
`; | ||
exports[`LandingPage > matches snapshot 1`] = `<LandingPage />`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`NavBar > matches snapshot 1`] = ` | ||
<NavBar | ||
onClone={[MockFunction spy]} | ||
onGoBack={[MockFunction spy]} | ||
onGoForward={[MockFunction spy]} | ||
onGoHome={[MockFunction spy]} | ||
onImport={[MockFunction spy]} | ||
onNew={[MockFunction spy]} | ||
onRemove={[MockFunction spy]} | ||
onSelect={[MockFunction spy]} | ||
/> | ||
`; | ||
exports[`NavBar > matches snapshot 1`] = `<NavBar />`; |
Oops, something went wrong.