Skip to content

Commit d2dd122

Browse files
Update URL-test.js
1 parent f76e596 commit d2dd122

File tree

1 file changed

+1
-6
lines changed
  • packages/react-native/Libraries/Blob/__tests__

1 file changed

+1
-6
lines changed

packages/react-native/Libraries/Blob/__tests__/URL-test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,8 @@ describe('URL', function () {
4040
// Insert / between Base and Path if missing
4141
const k = new URL('en-US/docs', 'https://developer.mozilla.org');
4242
expect(k.href).toBe('https://developer.mozilla.org/en-US/docs');
43-
44-
45-
46-
47-
43+
//More cases
4844
const url = new URL('https://username:[email protected]:8080/docs/path?query=testQuery&key=value#fragment');
49-
5045
expect(url.hash).toBe('#fragment');
5146
expect(url.host).toBe('reactnative.dev:8080');
5247
expect(url.hostname).toBe('reactnative.dev');

0 commit comments

Comments
 (0)