7
7
8
8
import { join } from 'node:path' ;
9
9
import fs from 'node:fs' ;
10
- import * as util from 'node:util' ;
11
10
import { config , expect } from 'chai' ;
12
11
import { execCmd , TestSession } from '@salesforce/cli-plugins-testkit' ;
13
12
@@ -37,8 +36,6 @@ describe('api:request:graphql NUT', () => {
37
36
it ( 'get result in json format' , ( ) => {
38
37
const result = execCmd ( `api request graphql --body ${ join ( testSession . project . dir , 'standard.txt' ) } ` ) . shellOutput
39
38
. stdout ;
40
- // eslint-disable-next-line no-console
41
- console . log ( 'res' , util . inspect ( result ) ) ;
42
39
43
40
// make sure we got a JSON object back
44
41
const parsed = JSON . parse ( result ) as Record < string , unknown > ;
@@ -53,8 +50,6 @@ describe('api:request:graphql NUT', () => {
53
50
it ( 'get no results correctly' , ( ) => {
54
51
const result = execCmd ( `api request graphql --body ${ join ( testSession . project . dir , 'noResults.txt' ) } ` ) . shellOutput
55
52
. stdout ;
56
- // eslint-disable-next-line no-console
57
- console . log ( 'res' , util . inspect ( result ) ) ;
58
53
// make sure we got a JSON object back
59
54
const parsed = JSON . parse ( result ) as Record < string , unknown > ;
60
55
expect ( Object . keys ( parsed ) ) . to . have . length ;
0 commit comments