mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: wire header analyzer controls and captcha
This commit is contained in:
@@ -18,8 +18,10 @@ const { submitSpy, cancelSpy, useAnalysisState } = vi.hoisted(() => {
|
||||
progress: null,
|
||||
result: null,
|
||||
error: null,
|
||||
captchaChallenge: null,
|
||||
submit: submitSpy,
|
||||
cancel: cancelSpy,
|
||||
clearCaptchaChallenge: vi.fn(),
|
||||
},
|
||||
};
|
||||
});
|
||||
@@ -118,6 +120,7 @@ const resetUseAnalysisState = (): void => {
|
||||
useAnalysisState.progress = null;
|
||||
useAnalysisState.result = null;
|
||||
useAnalysisState.error = null;
|
||||
useAnalysisState.captchaChallenge = null;
|
||||
};
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user