Skip to content

Commit

Permalink
Bump cross-spawn from 7.0.3 to 7.0.6 in /client-frameworks-support/te…
Browse files Browse the repository at this point in the history
…sting-utilities/test (#4032)
  • Loading branch information
dependabot[bot] authored Nov 25, 2024
1 parent ab4bfce commit 54dfd27
Show file tree
Hide file tree
Showing 3 changed files with 448 additions and 1,625 deletions.
10 changes: 6 additions & 4 deletions client-frameworks-support/testing-utilities/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,15 @@ <h3 class="fd-title fd-title--h3">
'uxbutton4'
];

//Attach post message hook from MockModule
// Attach post message hook from MockModule
initPostMessageMthd();

const callMockModule = () => {
let msgType = event.target.getAttribute('data-arg1');
let LuigiClient = window.LuigiClient;

switch (msgType) {
//Client Linkmanager features
// Client Linkmanager features
case 'modal':
LuigiClient.linkManager().openAsModal('projects/pr1/users', {
title: 'Users',
Expand Down Expand Up @@ -113,7 +115,7 @@ <h3 class="fd-title fd-title--h3">
LuigiClient.linkManager().pathExists('/');
break;

//Client UX Manager features
// Client UX Manager features
case 'alert':
const settings = {
text: 'This is just a test alert for external micro frontend.',
Expand Down Expand Up @@ -149,7 +151,7 @@ <h3 class="fd-title fd-title--h3">
}
};

//Attach event listeners to Buttons
// Attach event listeners to Buttons
buttonArray.forEach(btn => {
document.getElementById(btn).addEventListener('click', callMockModule);
});
Expand Down
Loading

0 comments on commit 54dfd27

Please sign in to comment.