Skip to content

Commit

Permalink
test: translation of text added comma (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and Ace Nassri committed Nov 17, 2022
1 parent f1e3185 commit 1969f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate/test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ const projectId = process.env.GCLOUD_PROJECT;
describe('quickstart sample tests', () => {
it('should translate a string', async () => {
const stdout = execSync(`node quickstart ${projectId}`, {cwd});
assert.match(stdout, new RegExp('Translation: Привет, мир!'));
assert.include(stdout, 'Translation: Привет');
});
});

0 comments on commit 1969f68

Please sign in to comment.