Skip to content

Commit

Permalink
fix(concatjs): use runfiles helper rather than rely on monkey-patched…
Browse files Browse the repository at this point in the history
… require
  • Loading branch information
Alex Eagle committed Dec 2, 2020
1 parent 3c60276 commit 490f886
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const fs = require('fs');
const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']);

describe('karma_web_test_suite', () => {
let config;

beforeAll(() => {
config = fs.readFileSync(
require.resolve(
runfiles.resolve(
'build_bazel_rules_nodejs/packages/concatjs/web_test/test/karma_typescript/testing_wrapped_test.conf.js'),
'utf-8');
});
Expand Down

0 comments on commit 490f886

Please sign in to comment.