You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cli/src/api/__snapshots__/compile.test.ts.snap
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,14 @@ exports[`createCompiledCatalog options.pseudoLocale should return catalog with p
26
26
27
27
exports[`createCompiledCatalogoptions.pseudoLocaleshouldreturncompiledcatalogwhenpseudoLocaledoesn't match current locale 1`] = `/*eslint-disable*/module.exports={messages:{"Hello":"Ahoj"}};`;
28
28
29
+
exports[`createCompiledCatalog options.pure should return code catalog 1`] =`/*eslint-disable*/module.exports={messages:{"Hello":"Ahoj"}};`;
30
+
31
+
exports[`createCompiledCatalog options.pure should return pure catalog 1`] =`
32
+
Object {
33
+
Hello: Ahoj,
34
+
}
35
+
`;
36
+
29
37
exports[`createCompiledCatalog options.strict should return message key as a fallback translation 1`] =`/*eslint-disable*/module.exports={messages:{"Hello":"Ahoj","Missing":"Missing","Select":[["id","select",{Gen:"Genesis","1John":"1 John",other:"____"}]]}};`;
30
38
31
39
exports[`createCompiledCatalog options.strict should't return message key as a fallback in strict mode 1`] =`/*eslint-disable*/module.exports={messages:{"Hello":"Ahoj","Missing":"","Select":[["id","select",{Gen:"Genesis","1John":"1 John",other:"____"}]]}};`;
0 commit comments