Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remaining test cases #23

Closed
29 tasks done
alexeagle opened this issue May 19, 2022 · 2 comments
Closed
29 tasks done

Add remaining test cases #23

alexeagle opened this issue May 19, 2022 · 2 comments
Assignees
Labels
cleanup Cleanup task test New test or update to existing test
Milestone

Comments

@alexeagle
Copy link
Member

alexeagle commented May 19, 2022

There are like 20 folders under packages/typescript/test/ts_project in rules_nodejs that have coverage we still want:

  • a
  • allow_js
  • b
  • c
  • data
  • declarationdir
  • declarationdir_with_value
  • declaration_only
  • directory_declarations
  • empty_intermediate
  • esm
  • extends_chain
  • filegroup
  • generated_tsconfig
  • import_package_by_name
  • js_library
  • json
  • jsx
  • ngc
  • outdir
  • output_group
  • rootdir
  • rootdir_with_value
  • simple
  • swc
  • tsbuildinfofile
  • ts_config
  • validation
  • worker
@alexeagle
Copy link
Member Author

Note for this one: in #176 I ported over the tests for composite project references, however I dropped a test case that we'll need to add back: there's a use of args=["--emitBOM"] that we were using to verify arbitrary args get passed to tsc, and then the jasmine test in https://github.com/bazelbuild/rules_nodejs/blob/stable/packages/typescript/test/ts_project/b/b.spec.ts verified that the BOM was written. I couldn't get that green in the same PR, but also there's no particular reason to mix that assertion with the composite project references.
We should make sure to restore that coverage as part of this issue.

@alexeagle
Copy link
Member Author

Need to check:

  • a
  • allow_js
  • b
  • c
  • data
  • declarationdir
  • declarationdir_with_value
  • declaration_only
  • directory_declarations
  • empty_intermediate
  • esm
  • extends_chain
  • filegroup
  • generated_tsconfig
  • import_package_by_name
  • js_library
  • json
  • jsx
  • ngc
  • outdir
  • output_group
  • rootdir
  • rootdir_with_value
  • simple
  • swc
  • tsbuildinfofile
  • ts_config
  • tsconfig-base.json
  • validation
  • worker

alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
* test: add case for filegroup of srcs

Part of #23

* code review comments
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
alexeagle added a commit that referenced this issue Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Cleanup task test New test or update to existing test
Projects
None yet
Development

No branches or pull requests

4 participants