Skip to content

Commit f748061

Browse files
committed
fix: build
1 parent 6035f50 commit f748061

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ jobs:
4646

4747
- name: Build
4848
run: pnpm build
49-
https://github.com/jscottsmith/react-scroll-parallax/actions/runs/18050399519/job/51371003107?pr=279#step:9:1

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { EasingPreset, EffectNumber, EffectString } from 'parallax-controller';
1+
export { EasingPreset } from 'parallax-controller';
22

33
export * from './components/Parallax';
44
export * from './components/ParallaxBanner';

src/types/global.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,16 @@
22
declare global {
33
const global: any;
44
}
5+
6+
// Import jest-dom types
7+
import '@testing-library/jest-dom';
8+
9+
// Extend Jest matchers
10+
declare module '@jest/expect' {
11+
interface Matchers<R> {
12+
toBeInTheDocument(): R;
13+
toHaveAttribute(attr: string, value?: string): R;
14+
toHaveClass(className: string): R;
15+
toHaveStyle(css: string | Record<string, any>): R;
16+
}
17+
}

0 commit comments

Comments
 (0)