Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon committed Mar 1, 2023
1 parent 59b05e7 commit aa0f4f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 29 deletions.
5 changes: 4 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@
],
"transformIgnorePatterns": [
"node_modules/(?!(react-use-localstorage)).*\\.js$"
]
],
"moduleNameMapper": {
"monaco-editor": "<rootDir>/node_modules/@monaco-editor/react"
}
}
}
18 changes: 0 additions & 18 deletions app/src/components/Router.test.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions app/src/lib/prepareChart/prepareChart.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,6 @@ longer label text

test("if a document has a parser it shouldn't change", () => {
expect(prepareChart(getFixture("example8"))).toEqual({
details: {
id: "",
isHosted: false,
title: "",
},
meta: {
parser: "v1",
},
Expand All @@ -179,11 +174,6 @@ longer label text

test("if a document has no parser but has default text, add v1", () => {
expect(prepareChart(getFixture("example9"))).toEqual({
details: {
id: "",
isHosted: false,
title: "",
},
meta: {
parser: "v1",
},
Expand Down

0 comments on commit aa0f4f3

Please sign in to comment.