babel-plugin-react-translate/__tests__/__snapshots__/index-test.js.snap

20 lines
957 B
Plaintext
Raw Normal View History

2021-08-28 16:34:45 +03:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`works 1`] = `
"import { L } from \\"babel-plugin-react-translate/runtime\\";
var name = \\"John\\";
var foo = L(\\"\\\\u0401-Mobile\\");
foo = L(\\"\\\\u041C\\\\u0435\\\\u043D\\\\u044F \\\\u0437\\\\u043E\\\\u0432\\\\u0443\\\\u0442 {1}!\\", name) + \\" \\";
foo = \\" \\" + L(\\"\\\\u041C\\\\u0435\\\\u043D\\\\u044F \\\\u0437\\\\u043E\\\\u0432\\\\u0443\\\\u0442 {1}!\\", name);
foo = /*#__PURE__*/React.createElement(\\"span\\", null, L(\\"\\\\u041F\\\\u0440\\\\u0438\\\\u0432\\\\u0435\\\\u0442!\\"));
2021-11-08 00:39:35 +03:00
foo = L(\\"У меня много {1}: \\", L(\\"братьев\\"));
var age = {
[L(\\"\\\\u0411\\\\u0440\\\\u0430\\\\u0442\\\\u044C\\\\u044F\\")]: {
[L(\\"\\\\u0418\\\\u0432\\\\u0430\\\\u043D\\")]: 32,
[L(\\"\\\\u041C\\\\u0438\\\\u0445\\\\u0430\\\\u0438\\\\u043B\\")]: 36
},
[L(\\"\\\\u0421\\\\u0451\\\\u0441\\\\u0442\\\\u0440\\\\u044B{1}\\", getnum())]: {},
Родители
};"
2021-08-28 16:34:45 +03:00
`;