test: remove a bunch of usage of the remote module (#21119)

This commit is contained in:
Jeremy Apthorp 2019-11-14 14:09:03 -08:00 committed by GitHub
parent 4f1536479e
commit 26ecf63ab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 124 additions and 125 deletions

View file

@ -233,7 +233,7 @@ ifdescribe(features.isRemoteModuleEnabled())('remote module', () => {
})
describe('remote value in browser', () => {
const print = path.join(fixtures, 'module', 'print_name.js')
const print = path.join(__dirname, '..', 'spec-main', 'fixtures', 'module', 'print_name.js')
const printName = remote.require(print)
it('preserves NaN', () => {