Skip to content

jasmine_node_test and exports_directories_only = True is broken #3280

@thesayyn

Description

@thesayyn

🐞 bug report

Affected Rule

jasmine_node_test

Is this a regression?

Yes

Description

jasmine_node_test is broken due to referencing a file underneath the jasmine package which is not visible because it is neither predeclared output nor exported.

🔬 Minimal Reproduction

🔥 Exception or Error


no such target '@npm//:node_modules/@bazel/jasmine/jasmine_runner.js': target 'node_modules/@bazel/jasmine/jasmine_runner.js' not declared in package '' defined by /private/var/tmp/_bazel_thesayyn/b975b285f400016eec4905e7e4968b7f/external/npm/BUILD.bazel and referenced by '//test:test'

🌍 Your Environment

Operating System:

  
     Darwin M1
  

Output of bazel version:

  

  

Rules_nodejs version:

(Please check that you have matching versions between WORKSPACE file and @bazel/* npm packages.)

  
   package.json: "@bazel/jasmine": "^5.0.0", 
   WORKSPACE: rnj: 5.0.0
  

Anything else relevant?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions