Skip to content

Commit bac3685

Browse files
committed
Adding compiler option to get tests to load modules properly. See relevant discussion here:
wmonk/create-react-app-typescript#214
1 parent 1f43660 commit bac3685

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"module": "commonjs"
4+
"module": "commonjs",
5+
"allowSyntheticDefaultImports": true
56
}
67
}

0 commit comments

Comments
 (0)