feat(cli): update jest setup config

This commit is contained in:
chenjiahan 2020-08-22 10:59:10 +08:00
parent 5f7aad02a4
commit f0482c7eec

View File

@ -1 +1,12 @@
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
// @ts-ignore
import vant from '../../dist/package-entry';
import 'jest-canvas-mock';
declare global {
interface Window {
vant: any;
}
}
window.vant = vant;