Tag: webpack ecmascript 6

SyntaxError:意外的标记'const' – 尽pipe我取代了const

我试图导出我的firebase应用程序,所以我可以称之为摩卡testing规范,以及我试图testing的源代码。 我的摩卡testing规格如下所示: import Vue from 'vue' import Edit from '@/components/Edit' import filedata from '../../../static/filedata.js' import submitFile from '../../../helpers/submitFile.js' import firebaseapp from '../../../src/db.js' var db = firebaseapp.database() var storage = firebaseapp.storage() describe('Edit.vue', () => { it('should let me add files without choosing a category', () => { // add files to appear on the homepage var […]