chore: merge dev to main #181

Merged
Anri merged 40 commits from dev into main 2024-09-27 20:49:36 +02:00
Showing only changes of commit 54e86e4722 - Show all commits

View file

@ -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", () => { {
const name = "to be tested";
test(name, () => {
expect(fnReturnsTrue() /* function to test */).toBe(true /* expected result */); expect(fnReturnsTrue() /* function to test */).toBe(true /* expected result */);
}); });
}
}); });
``` ```