39246-vm/frontend/__tests__/theme.test.ts
abbashkyt-creator 7d8ce0e322 V0.1
2026-03-14 04:02:22 +03:00

15 lines
495 B
TypeScript

import { describe, it, expect } from 'vitest'
import { readFileSync } from 'fs'
import { join } from 'path'
describe('Ghost Node theme', () => {
it('globals.css defines ghost accent color', () => {
const css = readFileSync(join(process.cwd(), 'app/globals.css'), 'utf-8')
expect(css).toContain('#00e87b')
})
it('globals.css defines ghost bg color', () => {
const css = readFileSync(join(process.cwd(), 'app/globals.css'), 'utf-8')
expect(css).toContain('#050510')
})
})