Skip to content

Commit

Permalink
node-arduino-firmata: test
Browse files Browse the repository at this point in the history
  • Loading branch information
nxhack committed Aug 24, 2018
1 parent 82451c7 commit 3ae02fb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions node-arduino-firmata/patches/900-fix_the_usage_of_serialport.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/tests/test_arduino.coffee b/tests/test_arduino.coffee
index 3009336..776c2a4 100644
--- a/tests/test_arduino.coffee
+++ b/tests/test_arduino.coffee
@@ -16,10 +16,9 @@ describe 'class ArduinoFirmata', ->

describe 'method list', ->

- it 'should return list of serialports', (done) ->
+ it 'should return list of serialports', ->
ArduinoFirmata.list (err, devices) ->
- assert.equal devices instanceof Array, true
- done()
+ assert.equal (devices instanceof Array), true


describe 'instance of ArduinoFirmata', ->

0 comments on commit 3ae02fb

Please sign in to comment.