File size: 435 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 |
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$/ );
} );
} );
|