aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/tests/header.test.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-11-04 10:24:29 -0300
committerSebastian <sebasjm@gmail.com>2022-11-04 11:56:04 -0300
commite6a95d246d14a8968833ce7dcfdf0e7622a610ee (patch)
treea49a49ec2df3a9a307500d8f4e1ff99a717752e7 /packages/merchant-backoffice-ui/tests/header.test.tsx
parent66460e5650e19c12e105a8fe7560b9744c898b5d (diff)
downloadwallet-core-e6a95d246d14a8968833ce7dcfdf0e7622a610ee.tar.xz
fix imports
Diffstat (limited to 'packages/merchant-backoffice-ui/tests/header.test.tsx')
-rw-r--r--packages/merchant-backoffice-ui/tests/header.test.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/tests/header.test.tsx b/packages/merchant-backoffice-ui/tests/header.test.tsx
index f098b70d5..d855346de 100644
--- a/packages/merchant-backoffice-ui/tests/header.test.tsx
+++ b/packages/merchant-backoffice-ui/tests/header.test.tsx
@@ -20,12 +20,12 @@
*/
import { h } from "preact";
-import { ProductList } from "../src/components/product/ProductList";
+import { ProductList } from "../src/components/product/ProductList.js";
// See: https://github.com/preactjs/enzyme-adapter-preact-pure
// import { shallow } from 'enzyme';
-import * as backend from "../src/context/config";
+import * as backend from "../src/context/config.js";
import { render, findAllByText } from "@testing-library/preact";
-import * as i18n from "../src/context/translation";
+import * as i18n from "../src/context/translation.js";
import * as jedLib from "jed";
const handler = new jedLib.Jed("en");
@@ -54,7 +54,7 @@ describe("Initial Test of the Sidebar", () => {
unit: "book",
},
]}
- />
+ />,
);
expect(context.findAllByText("description of the product")).toBeDefined();