fix: add missing tests

This commit is contained in:
StevanFreeborn
2023-01-26 22:40:13 -06:00
parent 12f32bc731
commit 9ab72bd37c
7 changed files with 142 additions and 19 deletions
+20
View File
@@ -0,0 +1,20 @@
import { App } from '../src/models/App';
import { expect } from 'chai';
describe('App', function () {
it('should be defined', function () {
expect(App).to.not.be.undefined;
});
it('should have a constructor', function () {
expect(App).to.have.property('constructor');
});
it('should have 3 parameters', function () {
expect(App).to.have.lengthOf(3);
});
it('should create a new instance of the App class', function () {
expect(() => new App('href', 1, 'name')).to.not.throw();
});
});