fix lint
This commit is contained in:
parent
6fdc96c8bf
commit
044b63e761
|
@ -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 }}
|
||||
|
|
|
@ -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'
|
||||
})
|
||||
|
|
|
@ -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, [])
|
||||
|
|
Loading…
Reference in New Issue