Rename test name

master
Frédéric Matte 2022-12-04 16:31:39 -05:00
parent eb91549fb5
commit 738a9cdc8c
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ Clone of baretest with reporting
```js ```js
import assert from "node:assert/strict"; import assert from "node:assert/strict";
import metaltest from "metaltest"; import metaltest from "metaltest";
const test = metaltest("Metaltest"); const test = metaltest("Simple test");
test("test 1", () => { test("test 1", () => {
assert.equal(1, 1); assert.equal(1, 1);
}); });
@ -41,7 +41,7 @@ test.js
```js ```js
import assert from "node:assert/strict"; import assert from "node:assert/strict";
import metaltest from "metaltest"; import metaltest from "metaltest";
const test = metaltest("Metaltest"); const test = metaltest("Simple test");
test("test 1", () => { test("test 1", () => {
assert.equal(1, 1); assert.equal(1, 1);
}); });