We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb195d3 commit 32cecf4Copy full SHA for 32cecf4
src/generators/web/ui/__tests__/index-css.test.mjs
@@ -0,0 +1,12 @@
1
+import assert from 'node:assert/strict';
2
+import { readFile } from 'node:fs/promises';
3
+import { join } from 'node:path';
4
+import { describe, it } from 'node:test';
5
+
6
+describe('web/ui/index.css', () => {
7
+ it('contains selector to hide empty hashed navItems container', async () => {
8
+ const cssPath = join(import.meta.dirname, '..', 'index.css');
9
+ const css = await readFile(cssPath, 'utf-8');
10
+ assert.ok(css.includes('div[class$="_navItems"]:empty'));
11
+ });
12
+});
0 commit comments