UNPKG

vue-blockly

Version:

Blockly wrapped in a vue component

16 lines (14 loc) 438 B
import { shallowMount } from '@vue/test-utils' import VBlockly from '@/VBlockly' const jsdom = require('jsdom') const { JSDOM } = jsdom global.dom = new JSDOM('<!doctype html><html><body></body></html>') global.window = global.dom.window // describe('VBlockly.vue', () => { // it('renders', () => { // const wrapper = shallowMount(VBlockly, { // propsData: { } // }) // expect(wrapper.text()).toExist() // }) // })