test: move mockWarn into setup files

This commit is contained in:
Evan You
2020-07-27 22:58:37 -04:00
parent d4527230e4
commit 5c74243211
35 changed files with 103 additions and 199 deletions

View File

@@ -1,10 +1,8 @@
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'
import path from 'path'
import { mockWarn } from '@vue/shared'
import { createApp, ref } from 'vue'
describe('e2e: TransitionGroup', () => {
mockWarn()
const { page, html, nextFrame, timeout } = setupPuppeteer()
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`