Skip to content

Use ts-jest for running integration tests#1795

Merged
koesie10 merged 1 commit intojest-migration/integration-testsfrom
jest-migration/ts-jest
Nov 25, 2022
Merged

Use ts-jest for running integration tests#1795
koesie10 merged 1 commit intojest-migration/integration-testsfrom
jest-migration/ts-jest

Conversation

@koesie10
Copy link
Copy Markdown
Member

Instead of running the integration tests from the out directory, this will run the integration tests from the src directory using ts-jest.

Unfortunately, we are not able to use TypeScript files for the jest-runner-vscode configuration since cosmiconfig (the package that handles the configuration loading for jest-runner-vscode) doesn't support loading TypeScript files by default.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

Instead of running the integration tests from the `out` directory, this
will run the integration tests from the `src` directory using `ts-jest`.

Unfortunately, we are not able to use TypeScript files for the
`jest-runner-vscode` configuration since `cosmiconfig` (the package that
handles the configuration loading for `jest-runner-vscode`) doesn't
support loading TypeScript files by default.
@koesie10 koesie10 marked this pull request as ready for review November 25, 2022 12:21
@koesie10 koesie10 requested a review from a team as a code owner November 25, 2022 12:21
@koesie10 koesie10 merged commit e60ed32 into jest-migration/integration-tests Nov 25, 2022
@koesie10 koesie10 deleted the jest-migration/ts-jest branch November 25, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants