Skip to content

Commit

Permalink
docs(samples): revert integration test fix, is working again (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Oct 13, 2022
1 parent 1a9fa17 commit f435765
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ const URI = 'http://testsafebrowsing.appspot.com/s/phishing.html';

describe('Quickstart', () => {
it('should run quickstart', async () => {
try {
execSync(`node ./quickstart.js ${URI} ${PROJECT_ID}`, {
cwd,
});
assert('unreachable');
} catch (err) {
assert.match(err.message, /ALREADY_EXISTS/);
}
const stdout = execSync(`node ./quickstart.js ${URI} ${PROJECT_ID}`, {cwd});
assert.include(stdout, 'reported');
});
});

0 comments on commit f435765

Please sign in to comment.