feat: introduce Gatekeeper application, Directus utilities, and monorepo configuration for linting, testing, and husky hooks.
This commit is contained in:
10
packages/next-utils/src/index.test.ts
Normal file
10
packages/next-utils/src/index.test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
import { isValidLang } from "../src/index";
|
||||
|
||||
describe("next-utils", () => {
|
||||
it("should validate languages correctly", () => {
|
||||
expect(isValidLang("en")).toBe(true);
|
||||
expect(isValidLang("de")).toBe(true);
|
||||
expect(isValidLang("fr")).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user