1 import { TableStatus } from './table-status';
3 describe('TableStatus', () => {
4 it('should create an instance', () => {
5 const ts = new TableStatus();
6 expect(ts).toBeTruthy();
7 expect(ts).toEqual({ msg: '', type: 'light' });
10 it('should create with parameters', () => {
11 const ts = new TableStatus('danger', 'foo');
12 expect(ts).toBeTruthy();
13 expect(ts).toEqual({ msg: 'foo', type: 'danger' });