Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
escapemanuele committed Dec 9, 2024
1 parent 82e2d7d commit 3f3a152
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/lib/url/test/path-to-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ describe( 'pathToUrl', () => {
} );

expect( pathToUrl( '/start' ) ).toBe( 'https://wordpress.com/start' );
expect( pathToUrl( 'https://example.com/path' ) ).toBe( 'https://example.com/path' );
expect( pathToUrl( 'http://test.com' ) ).toBe( 'http://test.com' );
} );

test( 'should return development URL', () => {
Expand All @@ -44,7 +42,5 @@ describe( 'pathToUrl', () => {
} );

expect( pathToUrl( '/start' ) ).toBe( 'http://calypso.localhost:3000/start' );
expect( pathToUrl( 'https://example.com/path' ) ).toBe( 'https://example.com/path' );
expect( pathToUrl( 'http://test.com' ) ).toBe( 'http://test.com' );
} );
} );

0 comments on commit 3f3a152

Please sign in to comment.