Skip to content

Commit

Permalink
Make tests pass on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwippermann committed Dec 27, 2021
1 parent ee17d7c commit d016236
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/specs/serial-connection.spec.js
Expand Up @@ -12,6 +12,7 @@ const {
} = require('./resol-vbus');


const jestExpect = global.expect;
const expect = require('./expect');
const testUtils = require('./test-utils');

Expand Down Expand Up @@ -223,7 +224,7 @@ describe('SerialConnection', () => {
_connect: Function,
_createSerialPort: Function,
}, {
hasSerialPortSupport: true,
hasSerialPortSupport: jestExpect.any(Boolean),
});

});
3 changes: 2 additions & 1 deletion test/specs/serial-data-source-provider.spec.js
Expand Up @@ -10,6 +10,7 @@ const {
} = require('./resol-vbus');


const jestExpect = global.expect;
const expect = require('./expect');
const testUtils = require('./test-utils');

Expand Down Expand Up @@ -118,7 +119,7 @@ describe('SerialDataSourceProvider', () => {
createDataSource: Function,
_listSerialPorts: Function,
}, {
hasSerialPortSupport: !!true,
hasSerialPortSupport: jestExpect.any(Boolean),
});

});

0 comments on commit d016236

Please sign in to comment.