Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
The v4 alpha will do this but until its out lets change the tests back to the minified output versions so the pre-release is “correct” for the alpha version
  • Loading branch information
thecrypticace committed Mar 5, 2024
1 parent 678d42f commit c67c85f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -439,10 +439,10 @@ withFixture('v4/basic', (c) => {

expect(resolved).toEqual({
...item,
detail: 'text-transform: uppercase',
detail: 'text-transform:uppercase',
documentation: {
kind: 'markdown',
value: '```css\n.uppercase {\n text-transform: uppercase;\n}\n```',
value: '```css\n.uppercase{text-transform:uppercase;}\n```',
},
})
})
Expand Down
Expand Up @@ -111,7 +111,7 @@ withFixture('v4/basic', (c) => {
testHover('hover', {
text: '<div class="bg-red-500">',
position: { line: 0, character: 13 },
expected: '.bg-red-500 {\n background-color: #ef4444;\n}',
expected: '.bg-red-500{background-color:#ef4444;}',
expectedRange: {
start: { line: 0, character: 12 },
end: { line: 0, character: 22 },
Expand All @@ -121,7 +121,7 @@ withFixture('v4/basic', (c) => {
testHover('arbitrary value', {
text: '<div class="p-[3px]">',
position: { line: 0, character: 13 },
expected: '.p-\\[3px\\] {\n padding: 3px;\n}',
expected: '.p-\\[3px\\]{padding:3px;}',
expectedRange: {
start: { line: 0, character: 12 },
end: { line: 0, character: 19 },
Expand All @@ -142,7 +142,7 @@ withFixture('v4/basic', (c) => {
testHover('arbitrary property', {
text: '<div class="[text-wrap:balance]">',
position: { line: 0, character: 13 },
expected: '.\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}',
expected: '.\\[text-wrap\\:balance\\]{text-wrap:balance;}',
expectedRange: {
start: { line: 0, character: 12 },
end: { line: 0, character: 31 },
Expand Down

0 comments on commit c67c85f

Please sign in to comment.