mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-26 07:26:58 +00:00
Fix build issues
This commit is contained in:
parent
58b9e67616
commit
00bd339fb6
21
package-lock.json
generated
21
package-lock.json
generated
@ -130,7 +130,7 @@
|
||||
"@types/datatables.net": "1.10.28",
|
||||
"@types/datatables.net-colreorder": "1.4.5",
|
||||
"@types/dom-to-image": "2.6.2",
|
||||
"@types/enzyme": "3.10.18",
|
||||
"@types/enzyme": "3.10.12",
|
||||
"@types/enzyme-adapter-react-16": "1.0.9",
|
||||
"@types/hasher": "0.0.31",
|
||||
"@types/jest": "26.0.20",
|
||||
@ -12484,13 +12484,13 @@
|
||||
"integrity": "sha512-PD+wqNhrjWFjAlSVd18jvChZvOXB2SOwAILBmuYev5zswBats5qmzs/QFoooLKd2omj9BT05a8MeSeRmXLGY+Q=="
|
||||
},
|
||||
"node_modules/@types/enzyme": {
|
||||
"version": "3.10.18",
|
||||
"resolved": "https://registry.npmjs.org/@types/enzyme/-/enzyme-3.10.18.tgz",
|
||||
"integrity": "sha512-RaO/TyyHZvXkpzinbMTZmd/S5biU4zxkvDsn22ujC29t9FMSzq8tnn8f2MxQ2P8GVhFRG5jTAL05DXKyTtpEQQ==",
|
||||
"version": "3.10.12",
|
||||
"resolved": "https://registry.npmjs.org/@types/enzyme/-/enzyme-3.10.12.tgz",
|
||||
"integrity": "sha512-xryQlOEIe1TduDWAOphR0ihfebKFSWOXpIsk+70JskCfRfW+xALdnJ0r1ZOTo85F9Qsjk6vtlU7edTYHbls9tA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/cheerio": "*",
|
||||
"@types/react": "^16"
|
||||
"@types/react": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/enzyme-adapter-react-16": {
|
||||
@ -12502,17 +12502,6 @@
|
||||
"@types/enzyme": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/enzyme/node_modules/@types/react": {
|
||||
"version": "16.14.60",
|
||||
"resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.60.tgz",
|
||||
"integrity": "sha512-wIFmnczGsTcgwCBeIYOuy2mdXEiKZ5znU/jNOnMZPQyCcIxauMGWlX0TNG4lZ7NxRKj7YUIZRneJQSSdB2jKgg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/prop-types": "*",
|
||||
"@types/scheduler": "^0.16",
|
||||
"csstype": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/eslint": {
|
||||
"version": "8.44.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz",
|
||||
|
@ -125,7 +125,7 @@
|
||||
"@types/datatables.net": "1.10.28",
|
||||
"@types/datatables.net-colreorder": "1.4.5",
|
||||
"@types/dom-to-image": "2.6.2",
|
||||
"@types/enzyme": "3.10.18",
|
||||
"@types/enzyme": "3.10.12",
|
||||
"@types/enzyme-adapter-react-16": "1.0.9",
|
||||
"@types/hasher": "0.0.31",
|
||||
"@types/jest": "26.0.20",
|
||||
|
@ -357,9 +357,7 @@ describe("Documents tab", () => {
|
||||
beforeEach(() => {
|
||||
const props: IDocumentsTabComponentProps = createMockProps();
|
||||
|
||||
// Enzyme doesn't seem to support hooks, so we need to cast the component to any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
wrapper = shallow((<DocumentsTabComponent {...props} />) as any);
|
||||
wrapper = shallow(<DocumentsTabComponent {...props} />);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
@ -421,9 +419,7 @@ describe("Documents tab", () => {
|
||||
|
||||
const props: IDocumentsTabComponentProps = createMockProps();
|
||||
|
||||
// Enzyme doesn't seem to support hooks, so we need to cast the component to any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
wrapper = mount((<DocumentsTabComponent {...props} />) as any);
|
||||
wrapper = mount(<DocumentsTabComponent {...props} />);
|
||||
wrapper = await waitForComponentToPaint(wrapper);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user