mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
(ecmascript) Imports: isopackets.load.
This commit is contained in:
@@ -23,7 +23,7 @@ import Builder from '../isobuild/builder.js';
|
||||
import { DEFAULT_TRACK } from '../packaging/catalog/catalog.js';
|
||||
import { RemoteCatalog } from '../packaging/catalog/catalog-remote.js';
|
||||
import { IsopackCache } from '../isobuild/isopack-cache.js';
|
||||
var isopackets = require('../tool-env/isopackets.js');
|
||||
import { load as isoPacketsLoad } from '../tool-env/isopackets.js';
|
||||
|
||||
import { Tropohouse } from '../packaging/tropohouse.js';
|
||||
var packageMapModule = require('../packaging/package-map.js');
|
||||
@@ -83,7 +83,7 @@ export const fail = markStack(function (reason) {
|
||||
// with 'actual' being the value that the test got and 'expected'
|
||||
// being the expected value
|
||||
export const expectEqual = markStack(function (actual, expected) {
|
||||
var Package = isopackets.load('ejson');
|
||||
const Package = isoPacketsLoad('ejson');
|
||||
if (! Package.ejson.EJSON.equals(actual, expected)) {
|
||||
throw new TestFailure("not-equal", {
|
||||
expected: expected,
|
||||
|
||||
Reference in New Issue
Block a user