chore: merge dev
to main
#181
1 changed files with 7 additions and 4 deletions
|
@ -294,9 +294,12 @@ Il est souhaité d'écrire des tests quand cela est possible.
|
||||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||||
const { fnReturnsTrue } = require("../src/utils/misc");
|
const { fnReturnsTrue } = require("../src/utils/misc");
|
||||||
|
|
||||||
describe("test description", () => {
|
describe("test name", () => {
|
||||||
test("test name", () => {
|
{
|
||||||
expect(fnReturnsTrue() /* function to test */).toBe(true /* expected result */);
|
const name = "to be tested";
|
||||||
});
|
test(name, () => {
|
||||||
|
expect(fnReturnsTrue() /* function to test */).toBe(true /* expected result */);
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue