File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = {
1616 diagnostics : {
1717 warnOnly : true
1818 } ,
19- // tsconfig: '<rootDir>/test/jest/tsconfig.json'
19+ tsconfig : '<rootDir>/test/jest/tsconfig.json'
2020 }
2121 } ,
2222 reporters : [
Original file line number Diff line number Diff line change 1010 * See the License for the specific language governing permissions and limitations under the License.
1111 */
1212
13- import * as React from 'react' ;
13+ import React from 'react' ;
1414import { mount } from 'enzyme' ;
1515import { render , screen } from '@testing-library/react' ;
1616import LoginCallback from '../../src/LoginCallback' ;
Original file line number Diff line number Diff line change 1010 * See the License for the specific language governing permissions and limitations under the License.
1111 */
1212
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' ;
1515
1616Enzyme . configure ( { adapter : new Adapter ( ) } ) ;
1717
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "skipLibCheck" : true ,
4- "jsx" : " react"
4+ "jsx" : " react" ,
5+ "esModuleInterop" : true
56 }
67}
You can’t perform that action at this time.
0 commit comments