Download wp-calypso/bin/integration/get-circle-string-artifact-url.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/bin/integration/get-circle-string-artifact-url.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/bin/integration/get-circle-string-artifact-url.js
-
curl -L -o get-circle-string-artifact-url.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/bin/integration/get-circle-string-artifact-url.js
435 Bytes
| import child_process from 'child_process'; | |
| import path from 'path'; | |
| const scriptPath = path.join( '.', 'bin', 'get-circle-string-artifact-url' ); | |
| describe( 'get-circle-string-artifact-url', () => { | |
| test( 'We can fetch translation strings from CircleCi artifacts', () => { | |
| const url = child_process.execSync( `node ${ scriptPath }` ).toString().trim(); | |
| expect( url ).toMatch( /^https:\/\/.+\/calypso-strings\.pot$/ ); | |
| } ); | |
| } ); | |