test place-holder

This commit is contained in:
Geoff Doty 2022-07-17 23:51:24 -04:00
parent 40969f791e
commit afd0e21ee8
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
import HelloRiot from './hello-riot.riot';
import {expect} from 'chai';
import {component} from 'riot';
describe('Hello Riot Page Unit Test', () => {
const mount = component(HelloRiot);
it('The component properties are properly rendered', () => {
const div = document.createElement('div')
const component = mount(div, {
version: 'v6.1.2'
});
expect(component.$('p').innerHTML).to.be.equal('v6.1.2');
});
});