]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/classes/table-status.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / classes / table-status.spec.ts
1 import { TableStatus } from './table-status';
2
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' });
8 });
9
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' });
14 });
15 });