Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed Jan 11, 2023
1 parent f13472b commit 4217f4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mashup/visualize/scenarios.js
Expand Up @@ -532,7 +532,7 @@ scenarios.destroy = {
},
};

const { useElement, useLayout, embed } = window.stardust;
const { useElement, useLayout, embed, EnigmaMocker } = window.stardust;

const chart = {
qae: {
Expand Down Expand Up @@ -585,7 +585,7 @@ function getScenario() {

async function render() {
const scenario = getScenario();
const app = await window.enigmaMocker.fromGenericObjects([scenario.genericObject], scenario.options);
const app = await EnigmaMocker.fromGenericObjects([scenario.genericObject], scenario.options);
const element = document.querySelector('.viz');
const viz = await configuration(app).render({ element, id: 'bb8' });

Expand Down

0 comments on commit 4217f4c

Please sign in to comment.