Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Nov 16, 2020
1 parent 27f335a commit c4a0eae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ describe('hsl ui', function() {
testRedirect('reittiopas.fi','/kissa','https://reittiopas.hsl.fi/kissa');
testRedirect('reittiopas.fi','/','https://uusi.hsl.fi/?fromJourneyPlanner=true');
testRedirect('www.reittiopas.fi','/kissa','https://reittiopas.hsl.fi/kissa', true);
testResponseHeader('www.reittiopas.fi','/', 'x-robots-tag', 'noindex, nofollow, nosnippet, noarchive');
testRedirect('m.reittiopas.fi','/kissa','https://reittiopas.hsl.fi/kissa');
testRedirect('dev.reittiopas.fi','/kissa','https://dev.reittiopas.fi/kissa');

Expand Down

0 comments on commit c4a0eae

Please sign in to comment.