diff options
Diffstat (limited to 'packages/taler-wallet-webextension/test.mjs')
-rwxr-xr-x | packages/taler-wallet-webextension/test.mjs | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/packages/taler-wallet-webextension/test.mjs b/packages/taler-wallet-webextension/test.mjs index f3538fb5f..d0bf7dd48 100755 --- a/packages/taler-wallet-webextension/test.mjs +++ b/packages/taler-wallet-webextension/test.mjs @@ -15,30 +15,18 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import linaria from "@linaria/esbuild"; import { build, getFilesInDirectory } from "@gnu-taler/web-util/build"; const allTestFiles = getFilesInDirectory("src", /.test.tsx?$/); -const allStaticFiles = getFilesInDirectory("static"); await build({ + type: "test", source: { js: allTestFiles, - assets: allStaticFiles, + assets: [], }, destination: "./dist/test", css: "linaria", - linariaPlugin: () => { - // linaria has a bug if this run in web-util library - return linaria({ - babelOptions: { - presets: [ - "@babel/preset-typescript", - "@babel/preset-react", - "@linaria", - ], - }, - sourceMap: true, - }); - }, + // no need to produce css + // linariaPlugin: () => {}, }); |