From 36eb76f9d8d4319dba4413064e42be1ad2ecbc86 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Mon, 2 Oct 2023 17:40:50 +0200 Subject: [PATCH] test: fix coverage report --- .github/workflows/code-checks.yml | 3 --- .github/workflows/gh-pages.yml | 4 ++-- README.md | 4 ++-- package.json | 3 +-- tsconfig.json | 1 - 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 1c89d17fe69..ecd3fa273f4 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -116,9 +116,6 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/provision - - name: Build - run: yarn build - - name: Test run: yarn test:unit diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2417ee7942e..fef3c68d177 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -13,8 +13,8 @@ jobs: - uses: ./.github/actions/provision - - name: Build prod - run: yarn build + - name: Build + run: yarn test:coverage - name: Make badge maker run: npx make-coverage-badge diff --git a/README.md b/README.md index 37dd243abc8..10e7fd2c554 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Leather [![Chrome Web Store](https://img.shields.io/chrome-web-store/stars/ldinpeekobnhjjdofggfgjlcehhmanlj?label=Chrome%20Web%20Store)](https://chrome.google.com/webstore/detail/stacks-wallet/ldinpeekobnhjjdofggfgjlcehhmanlj) -[![Mozilla Add-on](https://img.shields.io/amo/stars/hiro-wallet?label=Firefox%20Add-on)](https://addons.mozilla.org/en-US/firefox/addon/hiro-wallet/) -[![coverage](https://raw.githubusercontent.com/hirosystems/wallet/gh-pages/badge.svg)](https://hirosystems.github.io/wallet/) +[![Mozilla Add-on](https://img.shields.io/amo/stars/leather-wallet?label=Firefox%20Add-on)](https://addons.mozilla.org/en-US/firefox/addon/leather-wallet/) +[![coverage](https://raw.githubusercontent.com/leather-wallet/extension/gh-pages/badge.svg)](https://leather-wallet.github.io/extension/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) Leather is the most popular and trusted wallet for apps built on Bitcoin. Connect to apps and manage assets secured by Bitcoin and Bitcoin L2s with battle-tested wallet for the Stacks blockchain. diff --git a/package.json b/package.json index 990c43382ea..6ad6b5d0567 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,7 @@ "prod:analyze": "cross-env WALLET_ENVIRONMENT=production ANALYZE=true webpack -p", "test:integration": "playwright test", "test:unit": "vitest run", - "test:coverage": "WALLET_ENVIRONMENT=testing jest --collect-coverage", - "test:watch": "WALLET_ENVIRONMENT=testing jest --watch", + "test:coverage": "vitest run --coverage", "typecheck": "tsc --noEmit", "prepare": "panda codegen" }, diff --git a/tsconfig.json b/tsconfig.json index 17b20659c70..a5d607a3c1f 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -29,7 +29,6 @@ "@inpage/*": ["inpage/*"], "@app/*": ["app/*"], "@tests/*": ["../tests/*"], - "leather-styles/*": ["../leather-styles/*"] }, "allowSyntheticDefaultImports": true,