13 lines
316 B
13 lines
316 B
|
|
import Vue from 'vue'
|
|
import Login from '../../src/components/Login.vue'
|
|
import { assert } from 'chai'
|
|
|
|
describe('Login', function () {
|
|
it('should initialize with default data', function () {
|
|
var defaultData = Login.data()
|
|
assert.equal(defaultData.username, '')
|
|
assert.equal(defaultData.password, '')
|
|
})
|
|
})
|