Skip to content

Commit 207e071

Browse files
committed
chore: remove unused mock, switch to enzyme free config
1 parent 35e1146 commit 207e071

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
const { join } = require("path");
2-
const base = require("@mendix/pluggable-widgets-tools/test-config/jest.config");
3-
41
module.exports = {
5-
...base,
6-
moduleNameMapper: {
7-
...base.moduleNameMapper,
8-
"mendix/components/web/Icon": join(__dirname, "src/__mocks__/WebIcon")
9-
}
2+
...require("@mendix/pluggable-widgets-tools/test-config/jest.enzyme-free.config.js")
103
};

packages/pluggableWidgets/combobox-web/src/__mocks__/WebIcon.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/pluggableWidgets/combobox-web/src/__tests__/__snapshots__/MultiSelection.spec.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ exports[`Combo box (Association) toggles combobox menu on: input TOGGLE BUTTON 1
229229
>
230230
<div
231231
class="widget-combobox-input-container form-control"
232-
id="downshift-7-toggle-button"
232+
id="downshift-6-toggle-button"
233233
tabindex="-1"
234234
>
235235
<div
@@ -238,7 +238,7 @@ exports[`Combo box (Association) toggles combobox menu on: input TOGGLE BUTTON 1
238238
<input
239239
aria-activedescendant=""
240240
aria-autocomplete="list"
241-
aria-controls="downshift-7-menu"
241+
aria-controls="downshift-6-menu"
242242
aria-expanded="false"
243243
aria-labelledby="comboBox1-label"
244244
aria-required="true"
@@ -325,7 +325,7 @@ exports[`Combo box (Association) toggles combobox menu on: input TOGGLE BUTTON 1
325325
<ul
326326
aria-labelledby="comboBox1-label"
327327
class="widget-combobox-menu-list"
328-
id="downshift-7-menu"
328+
id="downshift-6-menu"
329329
role="listbox"
330330
/>
331331
</div>

0 commit comments

Comments
 (0)