Skip to content

Commit

Permalink
fix: transform tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marklawlor committed Jul 22, 2023
1 parent c3a1859 commit 33bb003
Show file tree
Hide file tree
Showing 8 changed files with 670 additions and 198 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"examples/*"
],
"scripts": {
"test": "npm run test --workspace=nativewind --",
"test": "jest",
"test:nativewind": "npm run test --workspace=nativewind --",
"test:css": "npm run test --workspace=react-native-css-interop --",
"build": "npm run build --workspace=nativewind --",
"example": "npm start --workspace=example --",
Expand Down
6 changes: 3 additions & 3 deletions packages/nativewind/src/__tests__/backgrounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { invalidProperty, invalidValue, style, testCases } from "../test-utils";

afterEach(() => resetStyles());

describe("Backgrounds - Background Attachment", () => {
describe.only("Backgrounds - Background Attachment", () => {
testCases(
["bg-fixed", invalidProperty("background-attachment")],
["bg-local", invalidProperty("background-attachment")],
["bg-scroll", invalidProperty("background-attachment")],
// ["bg-local", invalidProperty("background-attachment")],
// ["bg-scroll", invalidProperty("background-attachment")],
);
});

Expand Down
Loading

0 comments on commit 33bb003

Please sign in to comment.