Skip to content

Commit 360198c

Browse files
committed
Remove logs
1 parent 1c2d176 commit 360198c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

test/unit/platform.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ describe('Platform-detection', function () {
1515
for (const key of npmConfigKeys()) {
1616
npmEnv[key] = process.env[key];
1717
}
18-
console.log('Saved env', npmEnv);
1918
});
2019

2120
function cleanupEnv () {
@@ -31,9 +30,6 @@ describe('Platform-detection', function () {
3130
after(() => {
3231
cleanupEnv();
3332
Object.assign(process.env, npmEnv);
34-
console.log('Restored env to', Object.fromEntries(
35-
npmConfigKeys().map(key => [key, process.env[key]])
36-
));
3733
});
3834

3935
it('Can override arch with npm_config_arch', function () {

test/unit/text.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ const assert = require('assert');
55
const sharp = require('../../');
66
const fixtures = require('../fixtures');
77

8-
console.log('Runs tests with ', {npm_config_arch: process.env.npm_config_arch, arch: process.arch});
9-
108
(!process.env.npm_config_arch?.startsWith('wasm') ? describe : describe.skip)('Text to image', () => {
119
it('text with default values', async () => {
1210
const output = fixtures.path('output.text-default.png');

0 commit comments

Comments
 (0)