mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix outdated import of optimism package in dynamic-import test.
This commit is contained in:
@@ -230,9 +230,10 @@ describe("dynamic import(...)", function () {
|
||||
});
|
||||
|
||||
it("should track dynamic peer imports from packages (#9187)", () => {
|
||||
const absId = require.resolve("optimism");
|
||||
const version = require(
|
||||
"meteor/dynamic-import/dynamic-versions.js"
|
||||
).get("/node_modules/optimism/lib/index.js");
|
||||
).get(absId);
|
||||
|
||||
if (Meteor.isClient) {
|
||||
assert.strictEqual(typeof version, "string");
|
||||
|
||||
Reference in New Issue
Block a user