Changeset 50612
- Timestamp:
- 03/29/2021 06:05:47 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r50598 r50612 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", … … 3913 3907 "dev": true 3914 3908 }, 3915 "puppeteer": {3916 "version": "npm:puppeteer-core@5.5.0",3917 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-5.5.0.tgz",3918 "integrity": "sha512-tlA+1n+ziW/Db03hVV+bAecDKse8ihFRXYiEypBe9IlLRvOCzYFG6qrCMBYK34HO/Q/Ecjc+tvkHRAfLVH+NgQ==",3919 "dev": true,3920 "requires": {3921 "debug": "^4.1.0",3922 "devtools-protocol": "0.0.818844",3923 "extract-zip": "^2.0.0",3924 "https-proxy-agent": "^4.0.0",3925 "node-fetch": "^2.6.1",3926 "pkg-dir": "^4.2.0",3927 "progress": "^2.0.1",3928 "proxy-from-env": "^1.0.0",3929 "rimraf": "^3.0.2",3930 "tar-fs": "^2.0.0",3931 "unbzip2-stream": "^1.3.3",3932 "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 }3942 },3943 3909 "rimraf": { 3944 3910 "version": "3.0.2", … … 8064 8030 "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", 8065 8031 "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", 8032 "dev": true 8033 }, 8034 "devtools-protocol": { 8035 "version": "0.0.818844", 8036 "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz", 8037 "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==", 8066 8038 "dev": true 8067 8039 }, … … 18646 18618 }, 18647 18619 "puppeteer": { 18648 "version": "npm:puppeteer-core@3.0.0", 18649 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-3.0.0.tgz", 18650 "integrity": "sha512-oWjZFGMc0q2ak+8OxdmMffS79LIT0UEtmpV4h1/AARvESIqqKljf8mrfP+dQ2kas7XttsAZIxRBuWu7Y5JH8KQ==", 18651 "dev": true, 18652 "requires": { 18653 "@types/mime-types": "^2.1.0", 18620 "version": "npm:puppeteer-core@5.5.0", 18621 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-5.5.0.tgz", 18622 "integrity": "sha512-tlA+1n+ziW/Db03hVV+bAecDKse8ihFRXYiEypBe9IlLRvOCzYFG6qrCMBYK34HO/Q/Ecjc+tvkHRAfLVH+NgQ==", 18623 "dev": true, 18624 "requires": { 18654 18625 "debug": "^4.1.0", 18626 "devtools-protocol": "0.0.818844", 18655 18627 "extract-zip": "^2.0.0", 18656 18628 "https-proxy-agent": "^4.0.0", 18657 " mime": "^2.0.3",18658 " mime-types": "^2.1.25",18629 "node-fetch": "^2.6.1", 18630 "pkg-dir": "^4.2.0", 18659 18631 "progress": "^2.0.1", 18660 18632 "proxy-from-env": "^1.0.0", … … 18665 18637 }, 18666 18638 "dependencies": { 18639 "find-up": { 18640 "version": "4.1.0", 18641 "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 18642 "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 18643 "dev": true, 18644 "requires": { 18645 "locate-path": "^5.0.0", 18646 "path-exists": "^4.0.0" 18647 } 18648 }, 18649 "locate-path": { 18650 "version": "5.0.0", 18651 "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 18652 "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 18653 "dev": true, 18654 "requires": { 18655 "p-locate": "^4.1.0" 18656 } 18657 }, 18658 "p-locate": { 18659 "version": "4.1.0", 18660 "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 18661 "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 18662 "dev": true, 18663 "requires": { 18664 "p-limit": "^2.2.0" 18665 } 18666 }, 18667 "path-exists": { 18668 "version": "4.0.0", 18669 "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 18670 "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 18671 "dev": true 18672 }, 18673 "pkg-dir": { 18674 "version": "4.2.0", 18675 "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", 18676 "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", 18677 "dev": true, 18678 "requires": { 18679 "find-up": "^4.0.0" 18680 } 18681 }, 18667 18682 "rimraf": { 18668 18683 "version": "3.0.2", -
trunk/package.json
r50598 r50612 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.1", 68 67 "sass": "^1.32.8", -
trunk/tests/e2e/run-tests.js
r50542 r50612 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.