Skip to content

Commit ff57171

Browse files
chore: more logging
1 parent 1b5fd72 commit ff57171

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"prepack": "sf-prepack",
7777
"prepare": "sf-install",
7878
"test": "wireit",
79-
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
79+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000",
8080
"test:only": "wireit",
8181
"version": "oclif readme"
8282
},

test/commands/api/request/rest.nut.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ describe('api:request:rest NUT', () => {
1616
let testSession: TestSession;
1717

1818
before(async () => {
19+
// eslint-disable-next-line no-console
20+
console.log('start before');
1921
testSession = await TestSession.create({
2022
scratchOrgs: [
2123
{
@@ -34,8 +36,11 @@ describe('api:request:rest NUT', () => {
3436

3537
describe('std out', () => {
3638
it('get result in json format', () => {
39+
// eslint-disable-next-line no-console
40+
console.log('start test');
3741
const result = execCmd("api request rest 'services/data/v60.0/limits'").shellOutput.stdout;
38-
console.warn('res', result);
42+
// eslint-disable-next-line no-console
43+
console.log('res1', result);
3944
// make sure we got a JSON object back
4045
expect(Object.keys(JSON.parse(result) as Record<string, unknown>)).to.have.length;
4146
});

0 commit comments

Comments
 (0)