11cb0ef41Sopenharmony_ci/* IMPORTANT 21cb0ef41Sopenharmony_ci * This snapshot file is auto-generated, but designed for humans. 31cb0ef41Sopenharmony_ci * It should be checked into source control and tracked carefully. 41cb0ef41Sopenharmony_ci * Re-generate by setting TAP_SNAPSHOT=1 and running tests. 51cb0ef41Sopenharmony_ci * Make sure to inspect the output below. Do not ignore changes! 61cb0ef41Sopenharmony_ci */ 71cb0ef41Sopenharmony_ci'use strict' 81cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP dry run > logs pack contents 1`] = ` 91cb0ef41Sopenharmony_ciArray [ 101cb0ef41Sopenharmony_ci undefined, 111cb0ef41Sopenharmony_ci "package: test-package@1.0.0", 121cb0ef41Sopenharmony_ci undefined, 131cb0ef41Sopenharmony_ci "41B package.json", 141cb0ef41Sopenharmony_ci undefined, 151cb0ef41Sopenharmony_ci String( 161cb0ef41Sopenharmony_ci name: test-package 171cb0ef41Sopenharmony_ci version: 1.0.0 181cb0ef41Sopenharmony_ci filename: test-package-1.0.0.tgz 191cb0ef41Sopenharmony_ci package size: {size} 201cb0ef41Sopenharmony_ci unpacked size: 41 B 211cb0ef41Sopenharmony_ci shasum: {sha} 221cb0ef41Sopenharmony_ci integrity: {integrity} 231cb0ef41Sopenharmony_ci total files: 1 241cb0ef41Sopenharmony_ci ), 251cb0ef41Sopenharmony_ci "", 261cb0ef41Sopenharmony_ci] 271cb0ef41Sopenharmony_ci` 281cb0ef41Sopenharmony_ci 291cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP foreground-scripts can still be set to false > logs pack contents 1`] = ` 301cb0ef41Sopenharmony_ciArray [ 311cb0ef41Sopenharmony_ci undefined, 321cb0ef41Sopenharmony_ci "package: test-fg-scripts@0.0.0", 331cb0ef41Sopenharmony_ci undefined, 341cb0ef41Sopenharmony_ci "110B package.json", 351cb0ef41Sopenharmony_ci undefined, 361cb0ef41Sopenharmony_ci String( 371cb0ef41Sopenharmony_ci name: test-fg-scripts 381cb0ef41Sopenharmony_ci version: 0.0.0 391cb0ef41Sopenharmony_ci filename: test-fg-scripts-0.0.0.tgz 401cb0ef41Sopenharmony_ci package size: {size} 411cb0ef41Sopenharmony_ci unpacked size: 110 B 421cb0ef41Sopenharmony_ci shasum: {sha} 431cb0ef41Sopenharmony_ci integrity: {integrity} 441cb0ef41Sopenharmony_ci total files: 1 451cb0ef41Sopenharmony_ci ), 461cb0ef41Sopenharmony_ci "", 471cb0ef41Sopenharmony_ci] 481cb0ef41Sopenharmony_ci` 491cb0ef41Sopenharmony_ci 501cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP foreground-scripts defaults to true > logs pack contents 1`] = ` 511cb0ef41Sopenharmony_ciArray [ 521cb0ef41Sopenharmony_ci undefined, 531cb0ef41Sopenharmony_ci "package: test-fg-scripts@0.0.0", 541cb0ef41Sopenharmony_ci undefined, 551cb0ef41Sopenharmony_ci "110B package.json", 561cb0ef41Sopenharmony_ci undefined, 571cb0ef41Sopenharmony_ci String( 581cb0ef41Sopenharmony_ci name: test-fg-scripts 591cb0ef41Sopenharmony_ci version: 0.0.0 601cb0ef41Sopenharmony_ci filename: test-fg-scripts-0.0.0.tgz 611cb0ef41Sopenharmony_ci package size: {size} 621cb0ef41Sopenharmony_ci unpacked size: 110 B 631cb0ef41Sopenharmony_ci shasum: {sha} 641cb0ef41Sopenharmony_ci integrity: {integrity} 651cb0ef41Sopenharmony_ci total files: 1 661cb0ef41Sopenharmony_ci ), 671cb0ef41Sopenharmony_ci "", 681cb0ef41Sopenharmony_ci] 691cb0ef41Sopenharmony_ci` 701cb0ef41Sopenharmony_ci 711cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP should log output as valid json > logs pack contents 1`] = ` 721cb0ef41Sopenharmony_ciArray [] 731cb0ef41Sopenharmony_ci` 741cb0ef41Sopenharmony_ci 751cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP should log output as valid json > outputs as json 1`] = ` 761cb0ef41Sopenharmony_ciArray [ 771cb0ef41Sopenharmony_ci Array [ 781cb0ef41Sopenharmony_ci Object { 791cb0ef41Sopenharmony_ci "bundled": Array [], 801cb0ef41Sopenharmony_ci "entryCount": 1, 811cb0ef41Sopenharmony_ci "filename": "test-package-1.0.0.tgz", 821cb0ef41Sopenharmony_ci "files": Array [ 831cb0ef41Sopenharmony_ci Object { 841cb0ef41Sopenharmony_ci "mode": 420, 851cb0ef41Sopenharmony_ci "path": "package.json", 861cb0ef41Sopenharmony_ci "size": "{size}", 871cb0ef41Sopenharmony_ci }, 881cb0ef41Sopenharmony_ci ], 891cb0ef41Sopenharmony_ci "id": "test-package@1.0.0", 901cb0ef41Sopenharmony_ci "integrity": "{integrity}", 911cb0ef41Sopenharmony_ci "name": "test-package", 921cb0ef41Sopenharmony_ci "shasum": "{sha}", 931cb0ef41Sopenharmony_ci "size": "{size}", 941cb0ef41Sopenharmony_ci "unpackedSize": 41, 951cb0ef41Sopenharmony_ci "version": "1.0.0", 961cb0ef41Sopenharmony_ci }, 971cb0ef41Sopenharmony_ci ], 981cb0ef41Sopenharmony_ci] 991cb0ef41Sopenharmony_ci` 1001cb0ef41Sopenharmony_ci 1011cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP should log scoped package output as valid json > logs pack contents 1`] = ` 1021cb0ef41Sopenharmony_ciArray [] 1031cb0ef41Sopenharmony_ci` 1041cb0ef41Sopenharmony_ci 1051cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP should log scoped package output as valid json > outputs as json 1`] = ` 1061cb0ef41Sopenharmony_ciArray [ 1071cb0ef41Sopenharmony_ci Array [ 1081cb0ef41Sopenharmony_ci Object { 1091cb0ef41Sopenharmony_ci "bundled": Array [], 1101cb0ef41Sopenharmony_ci "entryCount": 1, 1111cb0ef41Sopenharmony_ci "filename": "myscope-test-package-1.0.0.tgz", 1121cb0ef41Sopenharmony_ci "files": Array [ 1131cb0ef41Sopenharmony_ci Object { 1141cb0ef41Sopenharmony_ci "mode": 420, 1151cb0ef41Sopenharmony_ci "path": "package.json", 1161cb0ef41Sopenharmony_ci "size": "{size}", 1171cb0ef41Sopenharmony_ci }, 1181cb0ef41Sopenharmony_ci ], 1191cb0ef41Sopenharmony_ci "id": "@myscope/test-package@1.0.0", 1201cb0ef41Sopenharmony_ci "integrity": "{integrity}", 1211cb0ef41Sopenharmony_ci "name": "@myscope/test-package", 1221cb0ef41Sopenharmony_ci "shasum": "{sha}", 1231cb0ef41Sopenharmony_ci "size": "{size}", 1241cb0ef41Sopenharmony_ci "unpackedSize": 50, 1251cb0ef41Sopenharmony_ci "version": "1.0.0", 1261cb0ef41Sopenharmony_ci }, 1271cb0ef41Sopenharmony_ci ], 1281cb0ef41Sopenharmony_ci] 1291cb0ef41Sopenharmony_ci` 1301cb0ef41Sopenharmony_ci 1311cb0ef41Sopenharmony_ciexports[`test/lib/commands/pack.js TAP should pack current directory with no arguments > logs pack contents 1`] = ` 1321cb0ef41Sopenharmony_ciArray [ 1331cb0ef41Sopenharmony_ci undefined, 1341cb0ef41Sopenharmony_ci "package: test-package@1.0.0", 1351cb0ef41Sopenharmony_ci undefined, 1361cb0ef41Sopenharmony_ci "41B package.json", 1371cb0ef41Sopenharmony_ci undefined, 1381cb0ef41Sopenharmony_ci String( 1391cb0ef41Sopenharmony_ci name: test-package 1401cb0ef41Sopenharmony_ci version: 1.0.0 1411cb0ef41Sopenharmony_ci filename: test-package-1.0.0.tgz 1421cb0ef41Sopenharmony_ci package size: {size} 1431cb0ef41Sopenharmony_ci unpacked size: 41 B 1441cb0ef41Sopenharmony_ci shasum: {sha} 1451cb0ef41Sopenharmony_ci integrity: {integrity} 1461cb0ef41Sopenharmony_ci total files: 1 1471cb0ef41Sopenharmony_ci ), 1481cb0ef41Sopenharmony_ci "", 1491cb0ef41Sopenharmony_ci] 1501cb0ef41Sopenharmony_ci` 151