Replace references to doma.in with s.test

This commit is contained in:
Alejandro Celaya
2023-01-17 22:53:49 +01:00
parent aac2832eb7
commit d3a644877e
7 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ describe('uri-helper', () => {
describe('replaceAuthorityFromUri', () => {
it.each([
['http://something.com/foo/bar', 'www.new.to', 'http://www.new.to/foo/bar'],
['https://www.authori.ty:8000/', 'doma.in', 'https://doma.in/'],
['https://www.authori.ty:8000/', 's.test', 'https://s.test/'],
['http://localhost:8080/this/is-a-long/path', 'somewhere:8888', 'http://somewhere:8888/this/is-a-long/path'],
])('replaces authority as expected', (uri, newAuthority, expectedResult) => {
expect(replaceAuthorityFromUri(uri, newAuthority)).toEqual(expectedResult);