15 lines
495 B
TypeScript
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')
|
|
})
|
|
})
|