Skip to content

Commit b9a076d

Browse files
author
Silicon 01
committed
fix: correct import path in api.test.ts
Import path was '../server/index.js' but file is already in server/ directory. Changed to './index.js' to fix TypeScript compilation error in Docker build.
1 parent fd120e1 commit b9a076d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/api.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, it, expect, beforeAll, afterAll } from 'vitest';
22
import fs from 'fs';
33
import path from 'path';
44
import os from 'os';
5-
import { app } from '../server/index.js';
5+
import { app } from './index.js';
66

77
describe('Server API', () => {
88
it('GET /api/info returns bot info', async () => {

0 commit comments

Comments
 (0)