Skip to content

Commit 2b1cf96

Browse files
test: remove .only
1 parent 1374c93 commit 2b1cf96

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/commands/logic/run/test.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
1717
const messages = Messages.loadMessages('@salesforce/plugin-apex', 'runtestcommon');
1818

1919
let logStub: sinon.SinonStub;
20-
let styledJsonStub: sinon.SinonStub;
2120

2221
describe('logic:test:run', () => {
2322
let sandbox: sinon.SinonSandbox;
2423

2524
beforeEach(async () => {
2625
sandbox = sinon.createSandbox();
2726
logStub = sandbox.stub(Ux.prototype, 'log');
28-
styledJsonStub = sandbox.stub(Ux.prototype, 'styledJSON');
2927
stubSfCommandUx(sandbox);
3028
sandbox
3129
.stub(Org, 'create')
@@ -177,12 +175,11 @@ describe('logic:test:run', () => {
177175
});
178176

179177
describe('test success', () => {
180-
it.only('should return a success json format message with sync', async () => {
178+
it('should return a success json format message with sync', async () => {
181179
sandbox.stub(TestService.prototype, 'runTestSynchronous').resolves(logicTestRunSimple);
182180
sandbox.stub(Org.prototype, 'getUsername').returns('[email protected]');
183181
const result = await RunLogicTest.run(['--tests', 'MyApexTests', '-r', 'json', '--synchronous']);
184182
expect(result).to.deep.equal(logicTestRunSimpleResult);
185-
expect(styledJsonStub.firstCall.args[0]).to.deep.equal({ result: logicTestRunSimpleResult, status: undefined });
186183
});
187184

188185
it('should return a success human format with synchronous', async () => {

0 commit comments

Comments
 (0)