Skip to content

Commit

Permalink
Remove warning for mounting Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Mar 14, 2024
1 parent 7132ee5 commit f00ab1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import vueSnapshotSerializer from './serializer.js';

expect.addSnapshotSerializer(vueSnapshotSerializer);

global.document = global.window.document;
document.body.innerHTML = '<div id="app"></div>';
const { getComputedStyle } = window;

// Prevents console log message to install Vue DevTools
Expand Down

0 comments on commit f00ab1a

Please sign in to comment.