Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Jan 9, 2023
1 parent 1c2d176 commit 360198c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions test/unit/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ describe('Platform-detection', function () {
for (const key of npmConfigKeys()) {
npmEnv[key] = process.env[key];
}
console.log('Saved env', npmEnv);
});

function cleanupEnv () {
Expand All @@ -31,9 +30,6 @@ describe('Platform-detection', function () {
after(() => {
cleanupEnv();
Object.assign(process.env, npmEnv);
console.log('Restored env to', Object.fromEntries(
npmConfigKeys().map(key => [key, process.env[key]])
));
});

it('Can override arch with npm_config_arch', function () {
Expand Down
2 changes: 0 additions & 2 deletions test/unit/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const assert = require('assert');
const sharp = require('../../');
const fixtures = require('../fixtures');

console.log('Runs tests with ', {npm_config_arch: process.env.npm_config_arch, arch: process.arch});

(!process.env.npm_config_arch?.startsWith('wasm') ? describe : describe.skip)('Text to image', () => {
it('text with default values', async () => {
const output = fixtures.path('output.text-default.png');
Expand Down

0 comments on commit 360198c

Please sign in to comment.