Skip to content

Commit

Permalink
test: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 22, 2024
1 parent 9bb22cf commit a408a75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
foo
# foo
9 changes: 9 additions & 0 deletions e2e/tests/client-config/no-export.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { expect, test } from '@playwright/test'

test('should import styles in client config file not exports', async ({
page,
}) => {
await page.goto('', { waitUntil: 'domcontentloaded' })

await expect(page.locator('#foo')).toHaveCSS('font-size', '32px')
})

0 comments on commit a408a75

Please sign in to comment.