File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default [
1313 pluginJs . configs . recommended ,
1414 ...tseslint . configs . recommended ,
1515 mocha . configs . recommended ,
16- stylistic . configs [ 'recommended-flat ' ] ,
16+ stylistic . configs [ 'recommended' ] ,
1717 {
1818 rules : {
1919 'mocha/no-mocha-arrows' : 'off' ,
Original file line number Diff line number Diff line change 1+ /* eslint-disable mocha/consistent-spacing-between-blocks */
12import { randomBytes } from 'crypto'
23import { SerialPort as SerialPortAutoDetect , SerialPortMock } from './'
34import { assert } from '../../../test/assert'
@@ -240,7 +241,7 @@ function testSerialPortClass(
240241 it ( 'deals with flushing during a read' , done => {
241242 const port = new SerialPort ( openOptions )
242243 port . on ( 'error' , done )
243- port . on ( 'data' , ( ) => { } ) // enter flowing mode
244+ port . on ( 'data' , ( ) => { } ) // enter flowing mode
244245 port . once ( 'data' , ( ) => {
245246 // we should have a pending read now since we're in flowing mode
246247 port . flush ( err => {
You can’t perform that action at this time.
0 commit comments