mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-01 05:00:13 +00:00
refactor: move privacy consent from ChatBox to Login/SignUp (#1239)
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com> Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
This commit is contained in:
parent
caa5742d92
commit
2e44ae0f0a
41 changed files with 277 additions and 1030 deletions
|
|
@ -104,8 +104,8 @@ describe('useInstallationSetup Hook', () => {
|
|||
});
|
||||
|
||||
it('should set initState to carousel if tool is not installed', async () => {
|
||||
// Set initial state to permissions (as would happen on fresh startup)
|
||||
mockAuthStore.initState = 'permissions';
|
||||
// Set initial state to carousel (as would happen on fresh startup)
|
||||
mockAuthStore.initState = 'carousel';
|
||||
|
||||
// Mock tool not installed
|
||||
window.ipcRenderer.invoke = vi.fn().mockResolvedValue({
|
||||
|
|
@ -235,8 +235,8 @@ describe('useInstallationSetup Hook', () => {
|
|||
it('should handle fresh installation scenario', async () => {
|
||||
TestScenarios.freshInstall(electronAPI);
|
||||
|
||||
// Set initial state to permissions (as would happen on fresh startup)
|
||||
mockAuthStore.initState = 'permissions';
|
||||
// Set initial state to carousel (as would happen on fresh startup)
|
||||
mockAuthStore.initState = 'carousel';
|
||||
|
||||
// Mock tool not installed
|
||||
window.ipcRenderer.invoke = vi.fn().mockResolvedValue({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue