File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,9 @@ build --sandbox_default_allow_network=false
21
21
# Docs: https://bazel.build/reference/command-line-reference#flag--host_jvm_args
22
22
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
23
23
24
+ # Enable runfiles symlink tree for rules_jest.
25
+ # Docs: https://bazel.build/reference/command-line-reference#flag--enable_runfiles
26
+ build --enable_runfiles
27
+
24
28
# This bazelrc file can be used for user-specific custom build settings.
25
29
try-import %workspace%/.user.bazelrc
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ cc_library(
22
22
23
23
jest_test (
24
24
name = "calculator_test" ,
25
+ args = [
26
+ "--runTestsByPath" ,
27
+ "%s/calculator.test.js" % package_name (),
28
+ ],
25
29
data = [
26
30
":bindings" ,
27
31
":calculator.test.js" ,
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ node_extension(
8
8
9
9
jest_test (
10
10
name = "hello_world_test" ,
11
+ args = [
12
+ "--runTestsByPath" ,
13
+ "%s/hello_world.test.js" % package_name (),
14
+ ],
11
15
data = [
12
16
":hello_world" ,
13
17
":hello_world.test.js" ,
You can’t perform that action at this time.
0 commit comments