feat: replace browser login with imported Reddit sessions
This commit is contained in:
1 parent
2b0545afcf
commit
c483c7b8be
76 files changed
+2048
-2828
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
describe('container runtime', () => {
|
||||
it('starts the bot directly without an interactive display or Chrome process', () => {
|
||||
const dockerfile = fs.readFileSync(path.resolve('Dockerfile'), 'utf8');
|
||||
|
||||
expect(dockerfile).toContain('CMD ["node", "dist/index.js"]');
|
||||
expect(dockerfile).not.toMatch(/entrypoint|Xvfb|x11vnc|noVNC|websockify|fluxbox|google-chrome|CHROME_CDP/i);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user