mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
snapshot tests: sort haps by part
This commit is contained in:
parent
f07859996e
commit
00bd60a855
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -187,7 +187,7 @@ evalScope(
|
|||||||
|
|
||||||
export const queryCode = async (code, cycles = 1) => {
|
export const queryCode = async (code, cycles = 1) => {
|
||||||
const { pattern } = await evaluate(code);
|
const { pattern } = await evaluate(code);
|
||||||
const haps = pattern.queryArc(0, cycles);
|
const haps = pattern.sortHapsByPart().queryArc(0, cycles);
|
||||||
return haps.map((h) => h.show(true));
|
return haps.map((h) => h.show(true));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user