We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6f478 commit 4a9b4c3Copy full SHA for 4a9b4c3
1 file changed
test/commands/sobject/list.test.ts
@@ -28,6 +28,7 @@ describe('force:schema:sobject:list', () => {
28
beforeEach(async () => {
29
await $$.stubAuths(testOrg);
30
stdoutSpy = $$.SANDBOX.stub(process.stdout, 'write');
31
+ $$.SANDBOX.stub(process.stderr, 'write');
32
});
33
34
afterEach(async () => {
@@ -87,7 +88,7 @@ describe('force:schema:sobject:list', () => {
87
88
89
// eslint-disable-next-line no-underscore-dangle
90
await cmd._run();
-
91
- expect(stdoutSpy.args[1][0]).to.equal('No ALL objects found.\n');
+ const stdout = stdoutSpy.args.flat().join('');
92
+ expect(stdout).to.include('No ALL objects found.\n');
93
94
0 commit comments