Skip to content

Commit

Permalink
docs: add note about vitest import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Aug 4, 2022
1 parent 8d78132 commit f5f15f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ vi.mock('react-device-detect', () => {
};
});

// for some reason, vitest can't handle importing this module...
vi.mock('@arcgis/core/symbols/support/symbolUtils', () => {
return {
renderPreviewHTML: () => '',
Expand Down

0 comments on commit f5f15f3

Please sign in to comment.