Skip to content

Commit f651182

Browse files
chore: generated code for commit 0df4fb2. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 0df4fb2 commit f651182

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

tests/output/javascript/src/client/abtesting.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('commonApi', () => {
2020
path: '/test',
2121
})) as unknown as EchoResponse;
2222

23-
expect(decodeURI(result.algoliaAgent)).toMatch(
23+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2424
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Abtesting (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2525
);
2626
});

tests/output/javascript/src/client/analytics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('commonApi', () => {
2020
path: '/test',
2121
})) as unknown as EchoResponse;
2222

23-
expect(decodeURI(result.algoliaAgent)).toMatch(
23+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2424
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Analytics (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2525
);
2626
});

tests/output/javascript/src/client/insights.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('commonApi', () => {
2020
path: '/test',
2121
})) as unknown as EchoResponse;
2222

23-
expect(decodeURI(result.algoliaAgent)).toMatch(
23+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2424
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Insights (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2525
);
2626
});

tests/output/javascript/src/client/personalization.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('commonApi', () => {
2222
path: '/test',
2323
})) as unknown as EchoResponse;
2424

25-
expect(decodeURI(result.algoliaAgent)).toMatch(
25+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2626
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Personalization (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2727
);
2828
});

tests/output/javascript/src/client/predict.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('commonApi', () => {
2020
path: '/test',
2121
})) as unknown as EchoResponse;
2222

23-
expect(decodeURI(result.algoliaAgent)).toMatch(
23+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2424
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Predict (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2525
);
2626
});

tests/output/javascript/src/client/querySuggestions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('commonApi', () => {
2222
path: '/test',
2323
})) as unknown as EchoResponse;
2424

25-
expect(decodeURI(result.algoliaAgent)).toMatch(
25+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
2626
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; QuerySuggestions (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
2727
);
2828
});

tests/output/javascript/src/client/recommend.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('commonApi', () => {
4545
path: '/test',
4646
})) as unknown as EchoResponse;
4747

48-
expect(decodeURI(result.algoliaAgent)).toMatch(
48+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
4949
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Recommend (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
5050
);
5151
});

tests/output/javascript/src/client/search.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('commonApi', () => {
4646
path: '/test',
4747
})) as unknown as EchoResponse;
4848

49-
expect(decodeURI(result.algoliaAgent)).toMatch(
49+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
5050
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Search (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
5151
);
5252
});

tests/output/javascript/src/client/sources.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('commonApi', () => {
3232
path: '/test',
3333
})) as unknown as EchoResponse;
3434

35-
expect(decodeURI(result.algoliaAgent)).toMatch(
35+
expect(decodeURIComponent(result.algoliaAgent)).toMatch(
3636
/^Algolia for JavaScript \(\d+\.\d+\.\d+(-.*)?\)(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*(; Sources (\(\d+\.\d+\.\d+(-.*)?\)))(; [a-zA-Z. ]+ (\(\d+((\.\d+)?\.\d+)?(-.*)?\))?)*$/
3737
);
3838
});

0 commit comments

Comments
 (0)