File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = {
16
16
diagnostics : {
17
17
warnOnly : true
18
18
} ,
19
- // tsconfig: '<rootDir>/test/jest/tsconfig.json'
19
+ tsconfig : '<rootDir>/test/jest/tsconfig.json'
20
20
}
21
21
} ,
22
22
reporters : [
Original file line number Diff line number Diff line change 10
10
* See the License for the specific language governing permissions and limitations under the License.
11
11
*/
12
12
13
- import * as React from 'react' ;
13
+ import React from 'react' ;
14
14
import { mount } from 'enzyme' ;
15
15
import { render , screen } from '@testing-library/react' ;
16
16
import LoginCallback from '../../src/LoginCallback' ;
Original file line number Diff line number Diff line change 10
10
* See the License for the specific language governing permissions and limitations under the License.
11
11
*/
12
12
13
- import * as Enzyme from 'enzyme' ;
14
- import * as Adapter from 'enzyme-adapter-react-16' ;
13
+ import Enzyme from 'enzyme' ;
14
+ import Adapter from 'enzyme-adapter-react-16' ;
15
15
16
16
Enzyme . configure ( { adapter : new Adapter ( ) } ) ;
17
17
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"skipLibCheck" : true ,
4
- "jsx" : " react"
4
+ "jsx" : " react" ,
5
+ "esModuleInterop" : true
5
6
}
6
7
}
You can’t perform that action at this time.
0 commit comments