Skip to content

Commit

Permalink
cleenup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beaussan committed Oct 23, 2023
1 parent b1e582c commit b2f6e6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/plugins/postcss/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const findPostCSSDependencies: GenericPluginCallback = async (configFilePath, op

if (isProduction) return [];

console.log('POSTCSS : CONFIG PATH :', configFilePath);
const localConfig: PostCSSConfig | undefined = configFilePath.endsWith('package.json')
? manifest?.postcss
: await load(configFilePath);
Expand Down
6 changes: 2 additions & 4 deletions test/plugins/graphql-codegen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ test('Find dependencies in graphql-codegen configuration (codegen.ts function)',
cwd,
});

console.log(issues);
console.log(counters);

assert(issues.unlisted['codegen.ts']['@graphql-codegen/near-operation-file-preset']);
assert(issues.unlisted['codegen.ts']['@graphql-codegen/schema-ast']);
assert(issues.unlisted['codegen.ts']['@graphql-codegen/introspection']);
Expand All @@ -51,7 +48,8 @@ test('Find dependencies in graphql-codegen configuration (codegen.ts function)',

assert.deepEqual(counters, {
...baseCounters,
unlisted: 7,
unlisted: 8,
devDependencies: 1,
processed: 1,
total: 1,
});
Expand Down

0 comments on commit b2f6e6e

Please sign in to comment.