CI (Add support to metro) #60
Annotations
2 errors
test/utilities/generator/modules.test.ts > createRegistry > should create a registry correctly:
packages/core/test/utilities/generator/modules.test.ts#L29
Error: Snapshot `createRegistry > should create a registry correctly 1` mismatched
- Expected
+ Received
@@ -2,16 +2,16 @@
export const languages = ["en","pt"] as const;
export const namespaces = ["common","zod"] as const;
const modules = {
en: {
- common: async () => import("~translations/en/common"),
- zod: async () => import("~translations/en/zod"),
+ common: async () => import("/~translations/en/common"),
+ zod: async () => import("/~translations/en/zod"),
},
pt: {
- common: async () => import("~translations/pt/common"),
- zod: async () => import("~translations/pt/zod"),
+ common: async () => import("/~translations/pt/common"),
+ zod: async () => import("/~translations/pt/zod"),
},
}
export async function importTranslationModule(language: string, namespace: string) {
return modules[language][namespace]();
❯ test/utilities/generator/modules.test.ts:29:65
|
Build and Test
Process completed with exit code 1.
|