Skip to content

Commit

Permalink
fix(admin-ui): override jsom test env options
Browse files Browse the repository at this point in the history
  • Loading branch information
jv18creator committed Jul 27, 2023
1 parent d28745b commit a5e1aed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin-ui/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const config = {
transform: {
"\\.[jt]sx?$": ["babel-jest", { presets: ["@babel/preset-env"] }],
},
testEnvironmentOptions: {
url: 'http://admin-ui-test.gluu.org/'
},
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)$":
"<rootDir>/__mocks__/fileMock.js",
Expand Down

0 comments on commit a5e1aed

Please sign in to comment.