Skip to content

Commit a6ec29f

Browse files
committed
fix tesst
1 parent cf4db16 commit a6ec29f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/LiveComponent/assets/test/url_utils.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ describe('url_utils', () => {
125125
});
126126

127127
it('parses a query string with value', () => {
128-
urlUtils.search = '?param1=&param2=value2';
129-
expect(urlUtils.get('param1')).toEqual('');
130-
expect(urlUtils.get('param2')).toEqual('value2');
128+
urlUtils.search = '?param1=value1';
129+
expect(urlUtils.get('param1')).toEqual('value1');
131130
});
132131

133132
it('parses a query string with empty value', () => {

0 commit comments

Comments
 (0)