mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop getNewAttachNode 'helper' completely
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user