Drop getNewAttachNode 'helper' completely

This commit is contained in:
Dannon Baker
2020-12-17 09:04:36 -05:00
parent 8ae60f2802
commit 690f639bfa
-8
View File
@@ -5,14 +5,6 @@ import { timer } from "rxjs";
import { take } from "rxjs/operators";
import { shallowMount } from "@vue/test-utils";
export function getNewAttachNode() {
const attachElement = document.createElement("div");
if (document.body) {
document.body.appendChild(attachElement);
}
return attachElement;
}
// Creates a watcher on the indicated vm/prop for use in testing
export function watchForChange({ vm, opts, propName, timeout = 1000, label = '' }) {
const start = new Date();