Skip to content

Commit a77bdc0

Browse files
committed
Remove tests
Testing webgl canvas with automated tests through bun or jest was more work than it was worth
1 parent 8c4f29a commit a77bdc0

File tree

7 files changed

+3
-121
lines changed

7 files changed

+3
-121
lines changed

__tests__/CoreShader.test.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

__tests__/ReactRender.test.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.

happydom.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

jest.config.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

jest.setup.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,8 @@
2727
"LICENSE"
2828
],
2929
"devDependencies": {
30-
"@happy-dom/global-registrator": "^15.11.6",
31-
"@testing-library/jest-dom": "^6.6.3",
32-
"@testing-library/react": "^16.0.1",
33-
"@types/jest": "^29.5.14",
3430
"@types/react": "^18.3.12",
3531
"@types/react-dom": "^18.3.1",
36-
"jest": "^29.7.0",
37-
"jest-environment-jsdom": "^29.7.0",
38-
"jest-webgl-canvas-mock": "^2.5.3",
39-
"ts-jest": "^29.2.5",
4032
"ts-node": "^10.9.2",
4133
"tslib": "^2.8.1",
4234
"typescript": "^5.6.3"
@@ -63,6 +55,8 @@
6355
"type": "module",
6456
"types": "dist/core/index.d.ts",
6557
"dependencies": {
66-
"bun": "^1.1.34"
58+
"bun": "^1.1.34",
59+
"canvaskit-wasm": "^0.39.1",
60+
"node-canvas-webgl": "^0.3.0"
6761
}
6862
}

src/core/shader.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,5 @@ export class Shader extends domHandler {
215215
protected touchStart(e: Event): void {
216216
super.touchStart(e);
217217
this.runHooks(MethodName.TOUCH);
218-
219-
220218
}
221219
}

0 commit comments

Comments
 (0)