Skip to content

🎥 Make videos programmatically with React

animation utils

Jonny Burger3e1bc2aaec5d
diff --git a/packages/animation-utils/package.json b/packages/animation-utils/package.json
index ab55f8a560..9335d46f68 100644
--- a/packages/animation-utils/package.json
+++ b/packages/animation-utils/package.json
@@ -13,7 +13,7 @@
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
"build": "bun --env-file=../.env.bundle bundle.ts",
- "test": "vitest --run"
+ "test": "bun test src"
},
"dependencies": {
"remotion": "workspace:*"
@@ -32,8 +32,7 @@
"prettier": "3.2.5",
"prettier-plugin-organize-imports": "3.2.4",
"eslint": "8.56.0",
- "@jonny/eslint-config": "3.0.281",
- "vitest": "0.31.1"
+ "@jonny/eslint-config": "3.0.281"
},
"exports": {
"./package.json": "./package.json",
diff --git a/packages/animation-utils/src/test/interpolate-styles.test.ts b/packages/animation-utils/src/test/interpolate-styles.test.ts
index 3acaea1d78..15659a0031 100644
--- a/packages/animation-utils/src/test/interpolate-styles.test.ts
+++ b/packages/animation-utils/src/test/interpolate-styles.test.ts
@@ -1,5 +1,5 @@
+import {expect, test} from 'bun:test';
import {Easing} from 'remotion';
-import {expect, test} from 'vitest';
import {interpolateStyles} from '../transformation-helpers/interpolate-styles';
import {translate} from '../transformation-helpers/make-transform';
diff --git a/packages/animation-utils/src/test/make-transform.test.ts b/packages/animation-utils/src/test/make-transform.test.ts
index 70ea9df157..c180e0b45d 100644
--- a/packages/animation-utils/src/test/make-transform.test.ts
+++ b/packages/animation-utils/src/test/make-transform.test.ts
@@ -1,4 +1,4 @@
-import {expect, test} from 'vitest';
+import {expect, test} from 'bun:test';
import {
makeTransform,
perspective,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 713645f240..1f871aca69 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -67,9 +67,6 @@ importers:
prettier-plugin-organize-imports:
specifier: 3.2.4
- vitest:
- specifier: 0.31.1
packages/astro-example:
dependencies: