Skip to content

Commit

Permalink
enable stylex on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ueokande committed Mar 4, 2024
1 parent 5325a5d commit c5f837c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"devDependencies": {
"@jest/types": "^29.6.3",
"@playwright/test": "1.40.1",
"@stylexjs/dev-runtime": "^0.5.1",
"@stylexjs/esbuild-plugin": "^0.5.1",
"@stylexjs/eslint-plugin": "^0.5.1",
"@stylexjs/stylex": "^0.5.1",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import "@abraham/reflection";
import inject from "@stylexjs/dev-runtime";

inject({ test: false } as any);

const todo = () => {
throw new Error("not implemented");
Expand Down

0 comments on commit c5f837c

Please # to comment.