Skip to content

Commit

Permalink
test replacing phantom with chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhodine-orleans-lindsay committed Jan 8, 2025
1 parent 14a837d commit fcb3c8a
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 19 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
"karma-chai": "^0.1.0",
"karma-cli": "^2.0.0",
"karma-mocha": "^2.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-chrome-launcher": "^3.2.0",
"puppeteer": "^23.11.1",
"mocha": "^8.4.0",
"mocha-sandbox": "^1.0.0",
"node-mocks-http": "^1.6.2",
Expand Down
4 changes: 3 additions & 1 deletion test/frontend/toolkit/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const puppeteer = require('puppeteer');
process.env.CHROME_BIN = puppeteer.executablePath();
module.exports = function (config) {
config.set({
browsers: [
'PhantomJS'
'ChromeHeadless'
],
frameworks: ['mocha', 'chai', 'browserify'],
preprocessors: {
Expand Down
Loading

0 comments on commit fcb3c8a

Please sign in to comment.