html-trajectory
Version:
Animate HTML elements along a curved path from their current position to a target element. Eg. a product photo flying into the cart icon.
17 lines (15 loc) • 385 B
text/typescript
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
// Use happy-dom to simulate browser environment
environment: 'happy-dom',
// Useful for debugging
globals: true,
environmentOptions: {
// Explicitly configure happyDOM options
'happy-dom': {
// Any specific happy-dom options if needed
}
}
}
});