Migrate tests to ESM

This commit is contained in:
Alex Holliday committed 2024-10-15 14:00:24 +08:00
1 parent f057807b56
commit 896b3437e5
22 files changed
+1153 -238

No files matched your search

@@ -1,7 +1,7 @@
const {
import {
handleValidationError,
handleError,
} = require("../../controllers/controllerUtils");
} from "../../controllers/controllerUtils.js";
describe("controllerUtils - handleValidationError", () => {
it("should set status to 422", () => {