mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix lint
This commit is contained in:
@@ -9,10 +9,10 @@ export const MyStory = {
|
||||
parameters: {
|
||||
mockBackend: {
|
||||
credits: 100,
|
||||
isAuthenticated: true
|
||||
isAuthenticated: true,
|
||||
// Other custom mock data
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
@@ -48,12 +48,12 @@ export const WithMSW = {
|
||||
parameters: {
|
||||
msw: {
|
||||
handlers: [
|
||||
http.get('/api/user', () => {
|
||||
return HttpResponse.json({ name: 'John', role: 'admin' })
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
http.get("/api/user", () => {
|
||||
return HttpResponse.json({ name: "John", role: "admin" });
|
||||
}),
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user