Skip to content

Commit faa8879

Browse files
committed
Add tests
1 parent c21e9db commit faa8879

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/index.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ it('allows pixels in unspecialized transform', () => runTest([
1717
['top', '0px'],
1818
], { top: 0 }));
1919

20+
it('allows boolean values values', () => runTest([
21+
['boolTrue1', 'true'],
22+
['boolTrue2', 'TRUE'],
23+
['boolFalse1', 'false'],
24+
['boolFalse2', 'FALSE'],
25+
], {
26+
boolTrue1: true,
27+
boolTrue2: true,
28+
boolFalse1: false,
29+
boolFalse2: false,
30+
}));
31+
2032
it('allows percent in unspecialized transform', () => runTest([
2133
['top', '0%'],
2234
], { top: '0%' }));

0 commit comments

Comments
 (0)