-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(multi file upload): Multi file upload tests (#1091)
* test(file upload): wip - tests * test(multifile upload): add tests for multi file upload component * test(multi file upload): complete tests for multiple files and accessibility
- Loading branch information
Showing
5 changed files
with
676 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
const config = { | ||
testEnvironment: "jsdom", | ||
testEnvironmentOptions: { | ||
url: "https://design-patterns.service.juice.gov.uk/", | ||
}, | ||
setupFilesAfterEnv: ["./jest.setup.js"], | ||
setupFilesAfterEnv: ["./jest.setup.js", "jest-sinon"], | ||
// See: https://github.com/sinonjs/sinon/issues/2522#issuecomment-1612555284 | ||
moduleNameMapper: { | ||
sinon: "<rootDir>/node_modules/sinon/pkg/sinon.js", | ||
}, | ||
}; | ||
module.exports = config; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.