A test name is the sentence that is true when it passes
test("works") tells the reader nothing when it fails. test("refunds the full amount when the order is cancelled within 24 hours") tells them the rule that broke.
describe("cancelOrder", () => {
it("refunds the full amount within 24 hours of purchase", …);
it("refunds nothing after the item has shipped", …);
});The list of names is the specification. Read it top to bottom and you should know what the module does.
testing