Skip to content

Commit

Permalink
add Neil's test
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 23, 2023
1 parent cef88c8 commit 349dc35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__tests__/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,10 @@ describe('loadScript', () => {
[false, 'https://test.herokuapp.com'],
[false, 'test.herokuapp.com'],
[false, 'herokuapp.com'],
[false, undefined],
// ensure it isn't matching herokuapp anywhere in the domain
[true, 'https://test.herokuapp.com.impersonator.io'],
[false, undefined],
[true, 'mysite-herokuapp.com'],
[true, 'https://bbc.co.uk'],
[true, 'bbc.co.uk'],
[true, 'www.bbc.co.uk'],
Expand Down

0 comments on commit 349dc35

Please sign in to comment.