Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
diagnostics: {
warnOnly: true
},
// tsconfig: '<rootDir>/test/jest/tsconfig.json'
tsconfig: '<rootDir>/test/jest/tsconfig.json'
}
},
reporters: [
Expand Down
2 changes: 1 addition & 1 deletion test/jest/loginCallback.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

import * as React from 'react';
import React from 'react';
import { mount } from 'enzyme';
import { render, screen } from '@testing-library/react';
import LoginCallback from '../../src/LoginCallback';
Expand Down
4 changes: 2 additions & 2 deletions test/jest/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

import * as Enzyme from 'enzyme';
import * as Adapter from 'enzyme-adapter-react-16';
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

Enzyme.configure({ adapter: new Adapter() });

Expand Down
3 changes: 2 additions & 1 deletion test/jest/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"skipLibCheck": true,
"jsx": "react"
"jsx": "react",
"esModuleInterop": true
}
}