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

Doesn't work in ESM projects #49

Open
tgrushka opened this issue Feb 19, 2024 · 0 comments
Open

Doesn't work in ESM projects #49

tgrushka opened this issue Feb 19, 2024 · 0 comments

Comments

@tgrushka
Copy link

Wanted to use this preset in a TypeScript ESM project (which is the format of almost all new projects these days) but since the config file is hard-coded to .js and doesn't allow .ts with ESM syntax or even .cjs, it fails with:

JestTestcontainersConfigError: Jest: Got error running globalSetup - /.../node_modules/@trendyol/jest-testcontainers/dist/setup.js, reason: config file could not be found at: /.../jest-testcontainers-config.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant