mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-10-26 19:11:26 +01:00
MAESTRO: default DNS toggle off
This commit is contained in:
1 parent
9f860a6f86
commit
196689f041
3 files changed
+13
-7
No files matched your search
@@ -96,11 +96,8 @@ afterEach(() => {
|
||||
describe("AnalysisControls", () => {
|
||||
it("renders toggles with default off state", async () => {
|
||||
setupFetchMock(sampleTests);
|
||||
const config: AnalysisConfig = { testIds: [], resolve: false, decodeAll: false };
|
||||
|
||||
const { container } = render(
|
||||
<AnalysisControls config={config} onChange={() => undefined} />,
|
||||
);
|
||||
const { container } = render(<AnalysisControls onChange={() => undefined} />);
|
||||
|
||||
await act(async () => {
|
||||
await flushPromises();
|
||||
|
||||
Reference in new issue
Block a user