1
0
Fork 0
js-utils/test/TestApp.ts

16 lines
356 B
TypeScript
Raw Normal View History

import { expect } from 'chai';
import { spy } from 'sinon';
import { describeLeaks, itLeaks } from './helpers/async';
import { createApp } from '../src/app';
describeLeaks('app', async () => {
itLeaks('should log a message', async () => {
const logSpy = spy(console.log);
await createApp();
expect(logSpy).to.have.callCount(1);
});
});