Skip to content

Commit 10b1e76

Browse files
committed
Add todos
1 parent 2220391 commit 10b1e76

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/tailwindcss-language-server/tests/colors/colors.test.js

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const range = (startLine, startCol, endLine, endCol) => ({
99
end: { line: endLine, character: endCol },
1010
})
1111

12+
// TODO: Find a way to test these in the language service
1213
withFixture('basic', (c) => {
1314
async function testColors(name, { text, expected }) {
1415
test.concurrent(name, async ({ expect }) => {
@@ -159,6 +160,7 @@ withFixture('basic', (c) => {
159160
})
160161
})
161162

163+
// TODO: Remove. These are all tested in the language service now
162164
withFixture('v4/basic', (c) => {
163165
async function testColors(name, { text, expected }) {
164166
test.concurrent(name, async ({ expect }) => {
@@ -309,6 +311,7 @@ withFixture('v4/basic', (c) => {
309311
})
310312
})
311313

314+
// TODO: Remove. These are all tested in the language service now
312315
defineTest({
313316
name: 'v4: colors are recursively resolved from the theme',
314317
fs: {
@@ -354,6 +357,7 @@ defineTest({
354357
},
355358
})
356359

360+
// TODO: Remove. These are all tested in the language service now
357361
defineTest({
358362
name: 'colors that use light-dark() resolve to their light color',
359363
fs: {

packages/tailwindcss-language-server/tests/hover/hover.test.js

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { withFixture } from '../common'
33
import { css, defineTest } from '../../src/testing'
44
import { createClient } from '../utils/client'
55

6+
// TODO: Find a way to test these in the language service
67
withFixture('basic', (c) => {
78
async function testHover(
89
name,
@@ -177,6 +178,7 @@ withFixture('basic', (c) => {
177178
})
178179
})
179180

181+
// TODO: Remove. This are all tested in the language service now
180182
withFixture('v4/basic', (c) => {
181183
async function testHover(
182184
name,
@@ -554,6 +556,7 @@ withFixture('v4/path-mappings', (c) => {
554556
})
555557
})
556558

559+
// TODO: Remove. This is tested in the language service now
557560
defineTest({
558561
name: 'Can hover showing theme values used in var(…) and theme(…) functions',
559562
fs: {

0 commit comments

Comments
 (0)