Skip to content

Commit

Permalink
fix: switchEnv test
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandepass committed Feb 21, 2024
1 parent 629b926 commit 3c12ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/app/components/plugin/env-switcher.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Environment Switcher', () => {
mockFetchStatusWithProfileUnauthorized();
mockHelixEnvironment(document, 'preview');

const switchEnvStub = sinon.stub(appStore, 'switchEnv').resolves();
const switchEnvStub = sinon.stub(appStore, 'switchEnv').returns();

sidekick = new AEMSidekick(defaultSidekickConfig);
document.body.appendChild(sidekick);
Expand Down

0 comments on commit 3c12ad9

Please sign in to comment.