We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27d8d4b commit 4d76616Copy full SHA for 4d76616
1 file changed
packages/b2c-cli/test/commands/auth/client/token.test.ts
@@ -91,7 +91,8 @@ describe('auth client token', () => {
91
92
const command = createCommand();
93
sinon.stub(command, 'jsonEnabled').returns(false);
94
- const stdoutStub = sinon.stub(ux, 'stdout').returns(void 0 as any);
+ // ux.stdout is already stubbed by stubCommandConfigAndLogger; get a reference to the existing stub
95
+ const stdoutStub = ux.stdout as unknown as sinon.SinonStub;
96
97
await command.run();
98
0 commit comments