Skip to content

Commit

Permalink
(optim/test): use node testEnvironment (#405)
Browse files Browse the repository at this point in the history
- default is jsdom, which we don't need

- also fix missing newline at EOF
  • Loading branch information
agilgur5 authored and swyxio committed Dec 29, 2019
1 parent 7c79b74 commit ec0f285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/jest.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"testEnvironment": "node",
"roots": ["<rootDir>/tests"],
"collectCoverageFrom": ["**/*.js"],
"transform": {
Expand All @@ -8,4 +9,4 @@
"<rootDir>/tests/**/__tests__/**/*.[jt]s?(x)",
"<rootDir>/tests/**/*(*.)@(spec|test).[tj]s?(x)"
]
}
}

0 comments on commit ec0f285

Please sign in to comment.