Comments (2)
@Ross-Esmond Do you have any opinions on how to set up the snapshot testing?
IIRC, you mentioned that you managed to do that locally.
from motion-canvas.
Yes. Jest-image-snapshot by American Express is great, and would work well. I built a wrapper around it to snapshot a canvas directly. For the E2E test we would probably render to a folder and snapshot the images after they're saved, but for smaller tests we could just snapshot the canvas. Most canvas unit tests can probably wait for the custom renderer, but they would be a great way to verify that you didn't break something specific.
from motion-canvas.
Related Issues (20)
- Hovering and dragging time events should display vertical line when such event happens HOT 3
- Inconsistent package versions when generating project using `npm init @motion-canvas@latest` HOT 2
- Allow code edit/remove to work with string interpolation. HOT 3
- Feature | Media control buttons for "go to start" and "go to end" HOT 2
- Why do some emojis come up and others dont ? HOT 2
- npm init -- "no prompting" not working HOT 1
- Naming an event 'constructor' causes Firefox to freeze
- Reset to the start of animation in disable loop option HOT 1
- Revamp keyboard bindings and controls, with a global key bindings map and per-module shortcuts HOT 2
- Add an HTML overlay on top of the canvas to potentially add controls and extra info even in presentation mode
- Cannot give Parent Node attributes to Child Node HOT 2
- Can you assign a reference to an already created shape? HOT 8
- Opacity should be at max 1 (or error when higher values are provided) HOT 2
- docs: adding a `troubleshooting` section HOT 2
- Adding light theme to the editor
- Video Playback is extremely slow in Firefox
- Audio from video keeps playing after exiting Presentation or moving back slides
- Add Vector constants for all origins HOT 1
- Scene Hierarchy Examples
- Issue with rendering in Firefox HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motion-canvas.