Skip to content

Commit f08e636

Browse files
committed
allow eslint no-console in tests
1 parent dabfa4b commit f08e636

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default [
132132
}
133133
},
134134
{
135-
files: ["packages/*/src/**/*", "packages/*/test/**/*"],
135+
files: ["packages/*/src/**/*"],
136136
rules: {
137137
"no-console": "error"
138138
}

packages/effect-mongodb/test/globalSetup/mongodb.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export async function setup({ provide }: GlobalSetupContext) {
99

1010
provide("mongoConnectionString", container.getConnectionString())
1111
if (process.env.EFFECT_MONGODB_DEBUG === "true") {
12-
// eslint-disable-next-line no-console
1312
console.log(
1413
`[EFFECT_MONGODB_DEBUG] MongoDB connection string with direct connection: '${container.getConnectionString()}'`
1514
)

0 commit comments

Comments
 (0)