Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit dbfd2b2

Browse files
chore: fixing tests
1 parent fe83ff4 commit dbfd2b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/spacing/spacing.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { spacing, getSpacing } from '../spacing/spacing';
1+
import { spacing, getSpacing } from './spacing';
22

33
describe('spacing tokens', () => {
44
it('spacing object contains all expected keys', () => {
@@ -41,7 +41,7 @@ describe('spacing tokens', () => {
4141
];
4242

4343
expectedKeys.forEach((key) => {
44-
expect(spacing).toHaveProperty(key);
44+
expect(spacing[key as keyof typeof spacing]).toBeDefined();
4545
});
4646
});
4747

0 commit comments

Comments
 (0)