Skip to content

Commit

Permalink
Remove verbatimModuleSyntax option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Sep 6, 2024
1 parent f735f7c commit fc4dc97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions custom-testing/answering/test/answering.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ function oracle<I, T extends Hashable, S>(
* page.
*/
describe("page.html", () => {
beforeEach(setup);
afterEach(teardown);
before(setup);
after(teardown);

// By default, only Failed outcomes are considered
it("should not have any Failed outcome", async () => {
Expand Down
8 changes: 2 additions & 6 deletions end-to-end-testing/puppeteer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../tsconfig.json",
"compilerOptions": {
"types": ["mocha"]
"types": ["mocha", "node"]
},
"files": ["test/page.spec.ts"],
"references": [
{
"path": "../../common"
}
]
"references": [{ "path": "../../common" }]
}
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"sourceMap": true,
"strict": true,
"target": "es2022",
"types": ["node"],
"verbatimModuleSyntax": true,
"//": "Puppeteer is heavy in ambient const enums which verbatimModuleSyntax doesn't like. Given that this is only tests/examples, we don't really care about typechecking the libraries.",
"skipLibCheck": true
"types": ["node"]
},
"files": [],
"references": [
Expand Down

0 comments on commit fc4dc97

Please sign in to comment.