Skip to content

Commit

Permalink
Add test with no default transition values defined
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Mar 12, 2024
1 parent 6cbc6ae commit 2ac9976
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/tailwindcss/src/utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9786,6 +9786,22 @@ test('transition', () => {
transition-property: none;
}"
`)

expect(
compileCss(
css`
@tailwind utilities;
`,
['transition-all'],
),
).toMatchInlineSnapshot(`
".transition-all {
transition-property: all;
transition-duration: 0s;
transition-timing-function: ease;
}"
`)

expect(
run([
'-transition',
Expand Down

0 comments on commit 2ac9976

Please sign in to comment.