mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-03 06:13:08 +00:00
22 lines
495 B
TypeScript
22 lines
495 B
TypeScript
import { expect } from 'chai';
|
|
|
|
import { makeLogFileName } from './log_file';
|
|
|
|
describe('This', function () {
|
|
describe('Is', function () {
|
|
it('A test', function () {
|
|
expect(makeLogFileName(this)).to.equal('This_Is_A_test');
|
|
});
|
|
});
|
|
|
|
describe('Is also', function () {
|
|
let testName: string;
|
|
beforeEach(function () {
|
|
testName = makeLogFileName(this);
|
|
});
|
|
it('A test', function () {
|
|
expect(testName).to.equal('This_Is_also_A_test');
|
|
});
|
|
});
|
|
});
|