Skip to content

Commit

Permalink
add fallback incase crypto is polyfilled globally.
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
chaitanyapotti committed Jul 5, 2024
1 parent c19b3c2 commit d7c3c0e
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 167 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on:
push:
branches-ignore:
- 'master'
- "master"

name: CI

Expand Down Expand Up @@ -33,4 +33,4 @@ jobs:
run: npm run build

- name: Run tests
run: npm run test:ci
run: npx playwright install && npm run test:ci
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: npm run build

- name: Run tests
run: npm run test:ci
run: npx playwright install && npm run test:ci
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = function (config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["ChromeHeadless", "FirefoxHeadless"],
browsers: ["ChromeHeadless", "FirefoxHeadless", "WebkitHeadless"],

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
Expand Down
Loading

0 comments on commit d7c3c0e

Please sign in to comment.