Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Jun 28, 2024
1 parent 23a7583 commit 7ff5ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/test/computed/load-simulator-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function createNetworkNode() {
protocol: 'http',
parsedURL: {scheme: 'http', securityOrigin: 'https://pwa.rocks'},
};
return new Lantern.NetworkNode(NetworkRequest.asLanternNetworkRequest(record));
return new Lantern.Graph.NetworkNode(NetworkRequest.asLanternNetworkRequest(record));
}

describe('Simulator artifact', () => {
Expand Down
2 changes: 1 addition & 1 deletion core/test/computed/page-dependency-graph-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('PageDependencyGraph computed artifact', () => {
devtoolsLog: sampleDevtoolsLog,
URL: getURLArtifactFromDevtoolsLog(sampleDevtoolsLog),
}, context);
assert.ok(output instanceof Lantern.BaseNode, 'did not return a graph');
assert.ok(output instanceof Lantern.Graph.BaseNode, 'did not return a graph');
const dependents = output.getDependents();
const nodeWithNestedDependents = dependents.find(node => node.getDependents().length);
assert.ok(nodeWithNestedDependents, 'did not link initiators');
Expand Down

0 comments on commit 7ff5ec1

Please sign in to comment.