diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb78617..955c850 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,35 +53,3 @@ jobs: - name: Typecheck run: nr typecheck - - test: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - node: [lts/*] - os: [ubuntu-latest, windows-latest, macos-latest] - fail-fast: false - - steps: - - uses: actions/checkout@v3 - - - name: Install pnpm - uses: pnpm/action-setup@v2 - - - name: Set node ${{ matrix.node }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - - - name: Setup - run: npm i -g @antfu/ni - - - name: Install - run: nci - - - name: Build - run: nr build - - - name: Test - run: nr test diff --git a/test/index.html b/test/index.html index c8181e5..b015fbb 100644 --- a/test/index.html +++ b/test/index.html @@ -1,88 +1,66 @@ - - - - Mocha Tests + + + Mocha Tests + + +
- - -
- - - - + - - - - + - + // Expose chai's assert globally. + self.assert = chai.assert + - - - - - + + + + + - - + + - - + failedTests.push({ + name: test.title, + result: false, + message: err.message, + stack: err.stack, + titles: flattenTitles(test) + }) + }) + } + + diff --git a/test/index.test.ts b/test/index.test.ts deleted file mode 100644 index e69de29..0000000