From b0ec5f118709d42f3cd467b1be6264c51fe1554e Mon Sep 17 00:00:00 2001 From: Timofei Iatsenko Date: Fri, 1 Mar 2024 10:07:09 +0100 Subject: [PATCH] refactor(macro): fix integration tests --- packages/macro/test/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/macro/test/index.ts b/packages/macro/test/index.ts index 83a36f4b6..375397162 100644 --- a/packages/macro/test/index.ts +++ b/packages/macro/test/index.ts @@ -7,7 +7,9 @@ import { transformSync, } from "@babel/core" import prettier from "prettier" -import linguiMacroPlugin, { LinguiPluginOpts } from "../src/plugin" +// use package path instead relative because we want +// to test it in from /dist folder in integration tests +import linguiMacroPlugin, { LinguiPluginOpts } from "@lingui/macro/plugin" import { JSXAttribute, jsxExpressionContainer,