Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 245c65e

Browse files
committed
test: fix change Style to cssx
1 parent a927a6a commit 245c65e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/style-integration.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
import Style from '../src/core/style';
1+
import cssx from '../src/core/cssx';
22

3-
test('Style.create returns an object with string values', () => {
4-
const styles = Style.create({ test: { color: 'aqua' } });
3+
test('cssx.create returns an object with string values', () => {
4+
const styles = cssx.create({ test: { color: 'aqua' } });
55
expect(typeof styles).toBe('object');
66
expect(typeof styles.test).toBe('string');
77
});
88

9-
test('Style.set returns a string', () => {
10-
const style = Style.set({ color: 'aqua' });
9+
test('cssx.set returns a string', () => {
10+
const style = cssx.set({ color: 'aqua' });
1111
expect(typeof style).toBe('string');
1212
});
1313

14-
test('Style.global returns undefined', () => {
15-
const result = Style.global({});
14+
test('cssx.global returns undefined', () => {
15+
const result = cssx.global({});
1616
expect(result).toBeUndefined();
1717
});
1818

19-
test('Style.root returns undefined', () => {
20-
const result = Style.root({});
19+
test('cssx.root returns undefined', () => {
20+
const result = cssx.root({});
2121
expect(result).toBeUndefined();
2222
});

0 commit comments

Comments
 (0)