diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 0bba647..9a1fdae 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -42,7 +42,7 @@ jobs: - run: npm ci --prefer-offline - run: npm run coverage - name: Codecov - if: matrix.node == 14 + if: always() && matrix.node == 14 uses: codecov/codecov-action@v1.0.6 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/tests/hostmask.test.ts b/tests/hostmask.test.ts index 4729cae..cc36c01 100644 --- a/tests/hostmask.test.ts +++ b/tests/hostmask.test.ts @@ -40,7 +40,7 @@ describe('Hostmask', () => { it('Getting line.hostname should throw if message lacks source', () => { const line = tokenise('PRIVMSG #channel hello') assert.throws(() => { - line.hostmask + line.hostmask // eslint-disable-line @typescript-eslint/no-unused-expressions }, { name: 'TypeError' }) diff --git a/tests/tokenise.test.ts b/tests/tokenise.test.ts index e3887f3..04a4221 100644 --- a/tests/tokenise.test.ts +++ b/tests/tokenise.test.ts @@ -103,7 +103,7 @@ describe('tokenise', () => { assert.deepStrictEqual(line.params, ['hello world']) }) - it('Should have an empty array fro messages without params', () => { + it('Should have an empty array from messages without params', () => { const line = tokenise('PRIVMSG') assert.strictEqual(line.command, 'PRIVMSG') assert.deepStrictEqual(line.params, [])