We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e18fa commit 3578e35Copy full SHA for 3578e35
translate/test/quickstart.test.js
@@ -27,6 +27,6 @@ const projectId = process.env.GCLOUD_PROJECT;
27
describe('quickstart sample tests', () => {
28
it('should translate a string', async () => {
29
const stdout = execSync(`node quickstart ${projectId}`, {cwd});
30
- assert.match(stdout, new RegExp('Translation: Привет, мир!'));
+ assert.include(stdout, 'Translation: Привет');
31
});
32
0 commit comments