Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
elete old smoke tests
Browse files Browse the repository at this point in the history
 🐿 v2.5.16
  • Loading branch information
adgad committed Jan 23, 2018
1 parent 3dd0efd commit 252d234
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 355 deletions.
277 changes: 0 additions & 277 deletions lib/smoke-test.js

This file was deleted.

8 changes: 6 additions & 2 deletions tasks/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ cd ../my-app-slug/app
npm install @financial-times/n-heroku-tools
nht run
`);
throw 'Smoke Tests failed ಠ_ಠ';
if(err.urlsTested) {
throw 'Smoke Tests failed ಠ_ಠ';
} else {
throw err;
}
});
});
});
Expand All @@ -87,7 +91,7 @@ module.exports = function (program, utils) {
.command('deploy [app]')
.description('runs haikro deployment scripts with sensible defaults for Next projects')
.option('-s, --skip-gtg', 'skip the good-to-go HTTP check')
.option('-a, --authenticated-smoke-tests', 'authenticate smoke tests with a backend authorization key')
.option('-a, --authenticated-moke-tests', 'authenticate smoke tests with a backend authorization key')
.action(function (app, options) {
task({
app: app,
Expand Down
2 changes: 1 addition & 1 deletion tasks/smoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function (program) {
task({
host: app,
authenticate: opts.auth
})
});
});
};

Expand Down
75 changes: 0 additions & 75 deletions test/smoke-test.js

This file was deleted.

0 comments on commit 252d234

Please sign in to comment.