Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add eslint mocha #1922

Merged
merged 1 commit into from
Aug 27, 2019
Merged

feat: add eslint mocha #1922

merged 1 commit into from
Aug 27, 2019

Conversation

reconbot
Copy link
Member

@reconbot reconbot commented Aug 26, 2019

I committed an exclusive test, that shouldn’t happen. This will prevent that.

I committed an exclusive test, that shouldn’t happen.
it('cannot be tested as we have no test ports')
return
}

describe('of 2 minutes of running 1k writes', () => {
if (process.version.match('v0.10.')) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not necessary any longer

@@ -164,7 +164,7 @@ describe('SerialPort', () => {
})

it('allows optional options', function(done) {
this.port = new SerialPort('/dev/exists', done)
this.port = new SerialPort('/dev/exists', () => done())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets eslint mocha know for sure we're calling done

@reconbot reconbot merged commit afbc431 into master Aug 27, 2019
@reconbot reconbot deleted the reconbot/lint-tests branch August 27, 2019 02:10
@lock lock bot locked as resolved and limited conversation to collaborators Feb 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant