vimo
Version:
A Vue2.x UI Project For Mobile & HyBrid
16 lines (14 loc) • 417 B
JavaScript
/* eslint-disable no-undef,no-unused-expressions */
import componentIsMatch from '../component-is-match'
// ,isString,isNumber,isFunction
describe('componentIsMatch', function () {
it('componentIsMatch', function () {
let component = {
$options: {
_componentTag: 'TestName'
}
}
let name = 'testname'
expect(componentIsMatch(component, name)).toBeTruthy()
})
})