mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
style: wrap a long assertion in the api-section error test
This commit is contained in:
1 parent
c8500dd869
commit
edaa5bf424
1 file changed
+3
-1
@@ -55,7 +55,9 @@ describe("ApiSection — a token-read failure is honest, not empty", () => {
|
||||
const html = render();
|
||||
expect(html).toContain('data-slot="query-error-card"');
|
||||
expect(html).toContain('data-slot="query-error-retry"');
|
||||
expect(html).not.toContain('data-testid="settings-api-tokens-active-empty"');
|
||||
expect(html).not.toContain(
|
||||
'data-testid="settings-api-tokens-active-empty"',
|
||||
);
|
||||
expect(html).not.toContain("No active tokens");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user