Skip to content

Commit

Permalink
Fixes broken spec
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn committed Dec 19, 2024
1 parent 15a8e36 commit e992492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ describe('Compound Container Tests', () => {
it('LuigiClient API publishEvent', () => {
cy.on('window:alert', stub);

// Set up a spy on console.info
// Set up a spy on console.log
cy.window().then((win) => {
cy.spy(win.console, 'info').as('consoleInfoSpy');
cy.spy(win.console, 'log').as('consoleLogSpy');
});

cy.get(containerSelector)
Expand All @@ -287,7 +287,7 @@ describe('Compound Container Tests', () => {
.click()
.then(() => {
expect(stub.getCall(0)).to.be.calledWith('sendInput');
cy.get('@consoleInfoSpy').should(
cy.get('@consoleLogSpy').should(
'be.calledWith',
'dataConverter(): Received Custom Message from "input1" MF My own event data'
);
Expand Down
2 changes: 1 addition & 1 deletion container/test-app/compound/compoundClientAPI.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h3>
name: 'sendInput',
action: 'update',
dataConverter: (data) => {
console.info(
console.log(
'dataConverter(): Received Custom Message from "input1" MF ' + data,
);
return 'new text: ' + data;
Expand Down

0 comments on commit e992492

Please sign in to comment.