test: remove ffi specs (#19661)

This commit is contained in:
Shelley Vohr 2019-08-07 11:41:56 -07:00 committed by GitHub
parent 67169a5d0c
commit fec54c9c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,26 +54,6 @@ describe('modules support', () => {
}
})
// TODO(alexeykuzmin): Disabled during the Chromium 62 (Node.js 9) upgrade.
// Enable it back when "ffi" module supports Node.js 9.
// https://github.com/electron/electron/issues/11274
xdescribe('ffi', () => {
before(function () {
if (!nativeModulesEnabled || process.platform === 'win32' ||
process.arch === 'arm64') {
this.skip()
}
})
it('does not crash', () => {
const ffi = require('ffi')
const libm = ffi.Library('libm', {
ceil: ['double', ['double']]
})
expect(libm.ceil(1.5)).to.equal(2)
})
})
describe('q', () => {
const Q = require('q')
describe('Q.when', () => {