All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 19s
Build & Deploy / 🧪 QA (push) Successful in 1m25s
Build & Deploy / 🏗️ Build (push) Successful in 2m44s
Build & Deploy / 🚀 Deploy (push) Successful in 24s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 51s
Build & Deploy / 🔔 Notify (push) Successful in 3s
16 lines
663 B
TypeScript
16 lines
663 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
import fs from 'node:fs';
|
|
import path from 'node:path';
|
|
|
|
describe('Docker Configuration Project Name Integrity', () => {
|
|
it('ensures docker-compose.yml has no legacy klz project fallbacks', () => {
|
|
const composeContent = fs.readFileSync(path.resolve(process.cwd(), 'docker-compose.yml'), 'utf-8');
|
|
expect(composeContent).not.toContain('klz');
|
|
});
|
|
|
|
it('ensures docker-compose.dev.yml has no legacy klz project fallbacks', () => {
|
|
const devComposeContent = fs.readFileSync(path.resolve(process.cwd(), 'docker-compose.dev.yml'), 'utf-8');
|
|
expect(devComposeContent).not.toContain('klz');
|
|
});
|
|
});
|