Files
2023-07-24 14:55:08 +02:00

14 lines
379 B
TypeScript

import { describe, expect, test } from 'vitest'
import { port } from './serve'
import { getColor, page } from '~utils'
const url = `http://localhost:${port}`
describe('injected inline style', () => {
test('injected inline style is present', async () => {
await page.goto(url)
const el = await page.$('.ssr-proxy')
expect(await getColor(el)).toBe('coral')
})
})