File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ describe('Platform-detection', function () {
15
15
for ( const key of npmConfigKeys ( ) ) {
16
16
npmEnv [ key ] = process . env [ key ] ;
17
17
}
18
- console . log ( 'Saved env' , npmEnv ) ;
19
18
} ) ;
20
19
21
20
function cleanupEnv ( ) {
@@ -31,9 +30,6 @@ describe('Platform-detection', function () {
31
30
after ( ( ) => {
32
31
cleanupEnv ( ) ;
33
32
Object . assign ( process . env , npmEnv ) ;
34
- console . log ( 'Restored env to' , Object . fromEntries (
35
- npmConfigKeys ( ) . map ( key => [ key , process . env [ key ] ] )
36
- ) ) ;
37
33
} ) ;
38
34
39
35
it ( 'Can override arch with npm_config_arch' , function ( ) {
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ const assert = require('assert');
5
5
const sharp = require ( '../../' ) ;
6
6
const fixtures = require ( '../fixtures' ) ;
7
7
8
- console . log ( 'Runs tests with ' , { npm_config_arch : process . env . npm_config_arch , arch : process . arch } ) ;
9
-
10
8
( ! process . env . npm_config_arch ?. startsWith ( 'wasm' ) ? describe : describe . skip ) ( 'Text to image' , ( ) => {
11
9
it ( 'text with default values' , async ( ) => {
12
10
const output = fixtures . path ( 'output.text-default.png' ) ;
You can’t perform that action at this time.
0 commit comments