mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
22 lines
500 B
TypeScript
22 lines
500 B
TypeScript
import { expect } from "chai";
|
|
|
|
import { makeLogFileName } from "../src/index.js";
|
|
|
|
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");
|
|
});
|
|
});
|
|
});
|