[verified] refactor: remove codex-pool references
This commit is contained in:
17
apps/api/src/codex/legacy-upstream-copy.spec.ts
Normal file
17
apps/api/src/codex/legacy-upstream-copy.spec.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
const legacyProjectName = ['codex', 'pool'].join('-');
|
||||
const legacyRepoPath = ['darvell', legacyProjectName].join('/');
|
||||
|
||||
describe('CodexService source copy', () => {
|
||||
it('does not reference the legacy upstream project in usage headers', () => {
|
||||
const serviceSource = readFileSync(
|
||||
join(__dirname, 'codex.service.ts'),
|
||||
'utf8',
|
||||
);
|
||||
|
||||
expect(serviceSource).not.toContain(legacyRepoPath);
|
||||
expect(serviceSource).not.toContain(legacyProjectName);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user