Skip to content

Commit

Permalink
disable web security
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshaNalluru committed Mar 5, 2024
1 parent c539c73 commit fa143ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/core/core-client/vitest.browser.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export default defineConfig({
name: "chromium",
provider: "playwright",
slowHijackESM: false,
providerOptions: {
launch: {
args: ["--disable-web-security"]
}
}
},
fakeTimers: {
toFake: ["setTimeout"],
Expand Down
5 changes: 5 additions & 0 deletions sdk/test-utils/recorder/vitest.browser.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export default defineConfig({
headless: true,
name: "chromium",
provider: "playwright",
providerOptions: {
launch: {
args: ["--disable-web-security"]
}
}
},
fakeTimers: {
toFake: ["setTimeout", "Date"],
Expand Down

0 comments on commit fa143ff

Please sign in to comment.