Skip to content

Commit 7ec97ae

Browse files
GREEN-1938: Use the ffi-napi modules in tests (#30)
Some of the unit tests were requiring the ffi modules to test the ability to extend the API. Since we updated package.json to use the ffi-napi module, the ffi module is no longer present and these tests were failing. Co-authored-by: Sam Raeburn <sam@rti.com>
1 parent c3ea4d8 commit 7ec97ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/nodejs/test_rticonnextdds_data_access.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
const path = require('path')
1010
const os = require('os')
11-
const ffi = require('ffi')
11+
const ffi = require('ffi-napi')
1212
const chai = require('chai')
1313
const chaiAsPromised = require('chai-as-promised')
1414
const expect = chai.expect

test/nodejs/test_rticonnextdds_input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
const path = require('path')
1010
const os = require('os')
11-
const ffi = require('ffi')
11+
const ffi = require('ffi-napi')
1212
const chai = require('chai')
1313
const chaiAsPromised = require('chai-as-promised')
1414
const expect = chai.expect

0 commit comments

Comments
 (0)