Skip to content

Commit

Permalink
Remove axios and detox from package.json in the root folder (#8219)
Browse files Browse the repository at this point in the history
* Remove axios and detox from package.json in the root folder

* fix ts
  • Loading branch information
enahum authored Sep 16, 2024
1 parent 991cecd commit c0f3cff
Show file tree
Hide file tree
Showing 5 changed files with 785 additions and 1,704 deletions.
2 changes: 1 addition & 1 deletion detox/e2e/support/server_api/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const getCookiesFromConfig = (config: AxiosRequestConfig<any>) => {
let mmAuthToken = '';
let mmUserId = '';
let mmCsrf = '';
config.jar?.toJSON().cookies.forEach((cookie: any) => {
config.jar?.toJSON()?.cookies.forEach((cookie: any) => {
if (cookie.key === 'MMAUTHTOKEN') {
mmAuthToken = cookie.value;
} else if (cookie.key === 'MMUSERID') {
Expand Down
Loading

0 comments on commit c0f3cff

Please sign in to comment.