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

Feature: Use TypeScript, Write 'jest.config.ts' file #1415

Closed
septs opened this issue Mar 3, 2020 · 2 comments
Closed

Feature: Use TypeScript, Write 'jest.config.ts' file #1415

septs opened this issue Mar 3, 2020 · 2 comments

Comments

@septs
Copy link

septs commented Mar 3, 2020

This allows us to TypeScript ONLY.

Expected:

// File path: project/jest.config.ts
import { Configuration } from "ts-jest";

const configure: Configuration = {
    preset: 'ts-jest',
    testEnvironment: 'jest-environment-jsdom-fourteen',
    globals: {
        'ts-jest': {
            isolatedModules: true,
        },
    },
}

export default configure
@ahnpnl
Copy link
Collaborator

ahnpnl commented Mar 3, 2020

hi, this feature doesn't belong to ts-jest scope, it should be in jest repo. You should ask in jest repo for this feature

@septs
Copy link
Author

septs commented Oct 18, 2020

@ahnpnl jestjs/jest#9636 is done.

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

2 participants