{session.name.charAt(0)}
diff --git a/package-lock.json b/package-lock.json
index 03a8901..14c4294 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "kvideo",
- "version": "4.9.11",
+ "version": "4.9.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "kvideo",
- "version": "4.9.11",
+ "version": "4.9.12",
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
diff --git a/package.json b/package.json
index 85d09b5..353c605 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "kvideo",
- "version": "4.9.11",
+ "version": "4.9.12",
"private": true,
"scripts": {
"dev": "node scripts/next-with-lan-access.mjs dev",
diff --git a/tests/account-actions-view.test.ts b/tests/account-actions-view.test.ts
new file mode 100644
index 0000000..225541f
--- /dev/null
+++ b/tests/account-actions-view.test.ts
@@ -0,0 +1,27 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import { readFileSync } from 'node:fs';
+import { join } from 'node:path';
+
+const projectRoot = process.cwd();
+
+test('navbar keeps logout available below the desktop breakpoint', () => {
+ const source = readFileSync(
+ join(projectRoot, 'components/layout/Navbar.tsx'),
+ 'utf8',
+ );
+
+ assert.match(source, /\{session && \(\s*
/);
+ assert.match(source, /
{
+ const source = readFileSync(
+ join(projectRoot, 'app/premium/settings/page.tsx'),
+ 'utf8',
+ );
+
+ assert.match(source, /import \{ AccountSettings \} from '@\/components\/settings\/AccountSettings';/);
+ assert.match(source, /
[\s\S]*?
/);
+});