diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-01 09:29:08 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-01 12:24:06 -0300 |
commit | b4966b33f4e806a4009c9a208b82e8f8d1ab14dc (patch) | |
tree | 4c65b9250055b1a1c82f3c622ee62bca2bcb1259 /packages/taler-wallet-webextension/test.mjs | |
parent | 23321014824dc3078537ae38dfb986a0f0eeb0ba (diff) | |
download | wallet-core-b4966b33f4e806a4009c9a208b82e8f8d1ab14dc.tar.xz |
using env prop
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: () => {}, }); |