Skip to content

Tests are running in the local build folder #11

@gndelia

Description

@gndelia

If I run a build locally with npm run build, it will create a local copy of _esm. If I later run the tests, it will also read the tests on the _esm folder, which is the build folder.

See this example

Image
✓ src/utils/fees.test.ts (24 tests) 2ms
 ✓ _esm/utils/fees.test.js (24 tests) 2ms
  • Do not run tests on the _esm folder
  • Do not copy test files on the generated build in the _esm folder!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions