vimo-dt
Version:
A Vue2.x UI Project For Mobile & HyBrid
19 lines (15 loc) • 522 B
JavaScript
;
var _componentIsMatch = require('../component-is-match');
var _componentIsMatch2 = _interopRequireDefault(_componentIsMatch);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
describe('componentIsMatch', function () {
it('componentIsMatch', function () {
var component = {
$options: {
_componentTag: 'TestName'
}
};
var name = 'testname';
expect((0, _componentIsMatch2.default)(component, name)).toBeTruthy();
});
});