Skip to content

Commit

Permalink
test: add a test for skipping import line
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Apr 9, 2024
1 parent 8537c63 commit 18d3a3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/__tests__/parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const makeParser = (content: string) => {
describe('parser', () => {
it('parses', () => {
const res = makeParser(`
import foo from 'bar';
import { css, ct, cva } from '@/styled-system/css';
const styles = cva({
Expand All @@ -36,7 +37,8 @@ describe('parser', () => {

expect(res).toMatchInlineSnapshot(
`
"import { css, ct, cva } from '@/styled-system/css';
"import foo from 'bar';
import { css, ct, cva } from '@/styled-system/css';
const styles = cva({
base: {
Expand Down

0 comments on commit 18d3a3c

Please sign in to comment.