mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-12 19:52:25 +03:00
es2015-ify source
This commit is contained in:
+3
-2
@@ -1,5 +1,6 @@
|
||||
describe('basic', function () {
|
||||
it('does something', function () {
|
||||
describe('basic', () => {
|
||||
it('does something', () => {
|
||||
console.log('tests have yet to be written')
|
||||
expect(2).to.equal(3)
|
||||
})
|
||||
})
|
||||
|
||||
+1
-4
@@ -1,5 +1,2 @@
|
||||
// test/index.js
|
||||
// require all test files using special Webpack feature
|
||||
// https://webpack.github.io/docs/context.html#require-context
|
||||
var testsContext = require.context('.', true, /\.spec$/)
|
||||
const testsContext = require.context('.', true, /\.spec$/)
|
||||
testsContext.keys().forEach(testsContext)
|
||||
|
||||
Reference in New Issue
Block a user