Skip to content

Commit

Permalink
Added a TODO to the Karma file.
Browse files Browse the repository at this point in the history
  • Loading branch information
shirblc committed Apr 17, 2024
1 parent a456fdb commit de880b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
const path = require("path");
// TODO: Figure out how to avoid defining the same module TWICE
// However, seems like Karma doesn't like ESM and since it's deprecated
// it's unlikely to get an update to fix that:
// https://github.com/karma-runner/karma/issues/3677
const { inlineComponentTemplate, inlineSVGs, updateEnvironmentVariables } = require("./processor");
const coverage = require("rollup-plugin-istanbul");
const commonjs = require("@rollup/plugin-commonjs");
const nodeResolve = require("@rollup/plugin-node-resolve").nodeResolve;
const typescript = require("@rollup/plugin-typescript");
process.env.CHROME_BIN = "/usr/bin/google-chrome-stable";
// process.env.CHROME_BIN = "/Users/shirbarlev/Applications/Google Chrome Canary.app"
const puppeteer = require("puppeteer");
process.env.CHROME_BIN = puppeteer.executablePath();

// Karma configuration file
module.exports = function (karma) {
Expand Down

0 comments on commit de880b8

Please sign in to comment.