Enable a few tests
This commit is contained in:
parent
10160b369b
commit
10c5141da0
3 changed files with 4 additions and 8 deletions
|
@ -76,8 +76,7 @@ describe('crashReporter module', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): [Ch66] Enable the test.
|
it('should send minidump when node processes crash', function (done) {
|
||||||
xit('should send minidump when node processes crash', function (done) {
|
|
||||||
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
||||||
if (process.env.APPVEYOR === 'True') return done()
|
if (process.env.APPVEYOR === 'True') return done()
|
||||||
|
|
||||||
|
|
|
@ -766,8 +766,7 @@ describe('asar package', function () {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): [Ch66] Fix the tests.
|
describe('process.env.ELECTRON_NO_ASAR', function () {
|
||||||
xdescribe('process.env.ELECTRON_NO_ASAR', function () {
|
|
||||||
it('disables asar support in forked processes', function (done) {
|
it('disables asar support in forked processes', function (done) {
|
||||||
const forked = ChildProcess.fork(path.join(__dirname, 'fixtures', 'module', 'no-asar.js'), [], {
|
const forked = ChildProcess.fork(path.join(__dirname, 'fixtures', 'module', 'no-asar.js'), [], {
|
||||||
env: {
|
env: {
|
||||||
|
@ -939,8 +938,7 @@ describe('asar package', function () {
|
||||||
assert(stats.isFile())
|
assert(stats.isFile())
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): [Ch66] Fix the test.
|
it('is available in forked scripts', function (done) {
|
||||||
xit('is available in forked scripts', function (done) {
|
|
||||||
var child = ChildProcess.fork(path.join(fixtures, 'module', 'original-fs.js'))
|
var child = ChildProcess.fork(path.join(fixtures, 'module', 'original-fs.js'))
|
||||||
child.on('message', function (msg) {
|
child.on('message', function (msg) {
|
||||||
assert.equal(msg, 'object')
|
assert.equal(msg, 'object')
|
||||||
|
|
|
@ -296,8 +296,7 @@ describe('chromium feature', () => {
|
||||||
b = window.open(windowUrl, '', 'nodeIntegration=no,show=no')
|
b = window.open(windowUrl, '', 'nodeIntegration=no,show=no')
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): [Ch66] Times out. Fix it and enable back.
|
it('disables node integration when it is disabled on the parent window for chrome devtools URLs', (done) => {
|
||||||
xit('disables node integration when it is disabled on the parent window for chrome devtools URLs', (done) => {
|
|
||||||
let b
|
let b
|
||||||
app.once('web-contents-created', (event, contents) => {
|
app.once('web-contents-created', (event, contents) => {
|
||||||
contents.once('did-finish-load', () => {
|
contents.once('did-finish-load', () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue