/**
* @file Integration Tests
* @version 0.1.0
* @status STABLE - COMPLETE TEST COVERAGE
* @lastModified 2024-03-24
*
* Tests for the integration between components
*
* Test Coverage:
* - Project structure
* - Essential file presence
*/
import { describe, it, expect } from "bun:test";
import * as fs from "fs";
import * as path from "path";
describe("Integration", () => {
it("should have src directory", () => {
expect(fs.existsSync(path.join(process.cwd(), "src"))).toBe(true);
});
it("should have test directory", () => {
expect(fs.existsSync(path.join(process.cwd(), "test"))).toBe(true);
});
it("should have build directory", () => {
expect(fs.existsSync(path.join(process.cwd(), "build"))).toBe(true);
});
it("should have package.json", () => {
expect(fs.existsSync(path.join(process.cwd(), "package.json"))).toBe(true);
});
it("should have tsconfig.json", () => {
expect(fs.existsSync(path.join(process.cwd(), "tsconfig.json"))).toBe(true);
});
it("should have index.ts in src", () => {
expect(fs.existsSync(path.join(process.cwd(), "src", "index.ts"))).toBe(true);
});
it("should have repomix.ts in src", () => {
expect(fs.existsSync(path.join(process.cwd(), "src", "repomix.ts"))).toBe(true);
});
});