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

fix(testing): don't run tests against non-test files #3237

Merged
merged 4 commits into from
Feb 15, 2022

Commits on Feb 10, 2022

  1. fix(testing): don't run tests against non-test files

    this commit adds test infrastructure for files picked up by jest for
    testing purposes. because there is no efficient way to get the
    interaction with stencil+jest (or any libary+jest for that matter), we
    instead extract the testRegex field out of the stencil `TestConfig` and
    perform `RegExp.test()`-based assertions.
    
    remove a single '?' from the `testRegex` field used that was making the
    period preceding (test|spec|e2e) optional
    rwaskiewicz committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    d038b3a View commit details
    Browse the repository at this point in the history
  2. fix(test): don't test .j, .t files

    update stencil's default `testRegex` to not capture `.j` and `.t` files
    rwaskiewicz committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    6233606 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. fix copy-pasta

    rwaskiewicz authored Feb 11, 2022
    Configuration menu
    Copy the full SHA
    675315c View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Configuration menu
    Copy the full SHA
    9d3681a View commit details
    Browse the repository at this point in the history