-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/kibertoad/ts-jest into je…
…st25 � Conflicts: � e2e/__templates__/default/package-lock.json � e2e/__templates__/default/package.json � e2e/__templates__/with-babel-7/package-lock.json � e2e/__templates__/with-babel-7/package.json � e2e/__templates__/with-typescript-2-7/package-lock.json � e2e/__templates__/with-typescript-2-7/package.json � e2e/__templates__/with-unsupported-version/package-lock.json � e2e/__templates__/with-unsupported-version/package.json � package-lock.json
- Loading branch information
Showing
51 changed files
with
10,829 additions
and
6,977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export enum MyEnum { | ||
one = 'ONE', | ||
two = 'TWO', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { MyEnum } from './constants' | ||
|
||
it('should pass', () => { | ||
expect(MyEnum.one).toBe('ONE') | ||
expect(MyEnum.two).toBe('TWO') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
export enum PackageSets { | ||
default = 'default', | ||
babel7 = 'with-babel-7', | ||
babel7StringConfig = 'with-babel-7-string-config', | ||
typescript2_7 = 'with-typescript-2-7', | ||
// invalid | ||
unsupportedVersion = 'with-unsupported-version', | ||
} | ||
export const allValidPackageSets = [PackageSets.default, PackageSets.babel7, PackageSets.typescript2_7] | ||
export const allPackageSetsWithPreset = [PackageSets.default, PackageSets.babel7, PackageSets.typescript2_7] | ||
export const allValidPackageSets = [PackageSets.default, PackageSets.babel7, PackageSets.babel7StringConfig, PackageSets.typescript2_7] | ||
export const allPackageSetsWithPreset = [PackageSets.default, PackageSets.babel7, PackageSets.babel7StringConfig, PackageSets.typescript2_7] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.