         child.send 'message'
 
       it 'works in browser process', (done) ->
-        fork = require('remote').require('child_process').fork
+        fork = remote.require('child_process').fork
         child = fork path.join(fixtures, 'module', 'ping.js')
         child.on 'message', (msg) ->
           assert.equal msg, 'message'

fs            = require 'fs'
path          = require 'path'
os            = require 'os'

describe 'node feature', ->
  fixtures = path.join __dirname, 'fixtures'

          done()
        fs.readFile __filename, ->
          throw error

    describe 'setTimeout called under Chromium event loop in browser process', ->
      it 'can be scheduled in time', (done) ->
        remote.getGlobal('setTimeout')(done, 0)

  describe 'message loop', ->
    describe 'process.nextTick', ->
