Changeset 50540
- Timestamp:
- 03/18/2021 12:42:28 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r50521 r50540 2316 2316 } 2317 2317 }, 2318 "@types/mime-types": {2319 "version": "2.1.0",2320 "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.0.tgz",2321 "integrity": "sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM=",2322 "dev": true2323 },2324 2318 "@types/minimatch": { 2325 2319 "version": "3.0.3", … … 3931 3925 "unbzip2-stream": "^1.3.3", 3932 3926 "ws": "^7.2.3" 3933 },3934 "dependencies": {3935 "devtools-protocol": {3936 "version": "0.0.818844",3937 "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz",3938 "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==",3939 "dev": true3940 }3941 3927 } 3942 3928 }, … … 8064 8050 "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", 8065 8051 "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", 8052 "dev": true 8053 }, 8054 "devtools-protocol": { 8055 "version": "0.0.818844", 8056 "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz", 8057 "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==", 8066 8058 "dev": true 8067 8059 }, … … 18643 18635 "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 18644 18636 "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 18645 },18646 "puppeteer": {18647 "version": "npm:puppeteer-core@3.0.0",18648 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-3.0.0.tgz",18649 "integrity": "sha512-oWjZFGMc0q2ak+8OxdmMffS79LIT0UEtmpV4h1/AARvESIqqKljf8mrfP+dQ2kas7XttsAZIxRBuWu7Y5JH8KQ==",18650 "dev": true,18651 "requires": {18652 "@types/mime-types": "^2.1.0",18653 "debug": "^4.1.0",18654 "extract-zip": "^2.0.0",18655 "https-proxy-agent": "^4.0.0",18656 "mime": "^2.0.3",18657 "mime-types": "^2.1.25",18658 "progress": "^2.0.1",18659 "proxy-from-env": "^1.0.0",18660 "rimraf": "^3.0.2",18661 "tar-fs": "^2.0.0",18662 "unbzip2-stream": "^1.3.3",18663 "ws": "^7.2.3"18664 },18665 "dependencies": {18666 "rimraf": {18667 "version": "3.0.2",18668 "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",18669 "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",18670 "dev": true,18671 "requires": {18672 "glob": "^7.1.3"18673 }18674 }18675 }18676 18637 }, 18677 18638 "q": { -
trunk/package.json
r50521 r50540 64 64 "matchdep": "~2.0.0", 65 65 "prettier": "npm:wp-prettier@2.0.5", 66 "puppeteer": "npm:puppeteer-core@3.0.0",67 66 "qunit": "~2.14.0", 68 67 "sass": "^1.32.8", -
trunk/tests/e2e/run-tests.js
r48177 r50540 1 1 const dotenv = require( 'dotenv' ); 2 2 const dotenv_expand = require( 'dotenv-expand' ); 3 const { sync: spawn } = require( 'cross-spawn' );4 3 const { execSync } = require( 'child_process' ); 5 4 … … 7 6 dotenv_expand( dotenv.config() ); 8 7 9 const result = spawn( 'node', [ require.resolve( 'puppeteer/install' ) ], {10 stdio: 'inherit',11 } );12 if ( result.status > 0 ) {13 process.exit( result.status );14 }15 16 8 // Run the tests, passing additional arguments through to the test script. 17 execSync( 'wp-scripts test-e2e --config tests/e2e/jest.config.js ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } ); 9 execSync( 10 'wp-scripts test-e2e --config tests/e2e/jest.config.js ' + 11 process.argv.slice( 2 ).join( ' ' ), 12 { stdio: 'inherit' } 13 );
Note: See TracChangeset
for help on using the changeset viewer.