Rename test name
parent
eb91549fb5
commit
738a9cdc8c
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue