Skip to content

Commit

Permalink
Linux fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Apr 12, 2019
1 parent 696ea54 commit 73aa1f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
4 changes: 4 additions & 0 deletions e2e/karma_stack_trace/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
# Turn off legacy external runfiles
run --nolegacy_external_runfiles
test --nolegacy_external_runfiles

# Needed for refresh roots experimental bazel build as bazel_skylib fails on this
build --incompatible_bzl_disallow_load_after_statement=false
test --incompatible_bzl_disallow_load_after_statement=false
4 changes: 4 additions & 0 deletions e2e/karma_typescript/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
# Turn off legacy external runfiles
run --nolegacy_external_runfiles
test --nolegacy_external_runfiles

# Needed for refresh roots experimental bazel build as bazel_skylib fails on this
build --incompatible_bzl_disallow_load_after_statement=false
test --incompatible_bzl_disallow_load_after_statement=false
11 changes: 0 additions & 11 deletions internal/e2e/fine_grained_deps/common.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,4 @@ describe('dependencies', () => {
const testB = require('@gregmagolan/test-b');
expect(testB).toEqual('test-b-0.0.2/test-a-0.0.1');
});

it(`should fail to resolve @bazel/bazel/bazel since the @bazel/bazel package should have been excluded
from the install by default value of excluded_packages`,
() => {
try {
require('@bazel/bazel/bazel');
fail('@bazel/bazel/bazel should not be resolved');
} catch (err) {
expect(err.code).toBe('MODULE_NOT_FOUND');
}
});
});

0 comments on commit 73aa1f8

Please sign in to comment.