ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI - Run Go tests against PostgreSQL - Record performance fixes in the report
This commit is contained in:
1 parent
199a5efaef
commit
22887fef03
100 files changed
+9740
-429
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// jsdom has no Web Animations API, which Svelte's transitions call. This stand-in finishes at once,
|
||||
// so an element that leaves with a transition is removed straight away.
|
||||
if (typeof Element.prototype.animate !== 'function') {
|
||||
Element.prototype.animate = function animate(): Animation {
|
||||
const animation = {
|
||||
currentTime: 0,
|
||||
onfinish: null as (() => void) | null,
|
||||
cancel() {},
|
||||
finish() {
|
||||
animation.onfinish?.();
|
||||
},
|
||||
pause() {},
|
||||
play() {},
|
||||
finished: Promise.resolve(),
|
||||
};
|
||||
queueMicrotask(() => animation.onfinish?.());
|
||||
return animation as unknown as Animation;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user