/
githubmirror
/
tailwindcss
Обзор
Документация
Войти
/
githubmirror
/
tailwindcss
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.4.19
tests/preflight.test.js
21 строка
505 B
Robin Malfait
Cleanup oxide — Part #2 (#13312)
22 мар 2024, 19:12
Не верифицирован
22 мар 2024, 19:12
44b3b42
Код
Авторство
О чём код?
import { run, html, css } from './util/run' it('preflight has a correct border color fallback', () => { let config = { content: [{ raw: html`<div class="border-black"></div>` }], theme: { borderColor: ({ theme }) => theme('colors'), }, plugins: [], corePlugins: { preflight: true }, } let input = css` @tailwind base; @tailwind utilities; ` return run(input, config).then((result) => { expect(result.css).toContain(`border-color: currentColor;`) }) })