This commit is contained in:
alex 2025-06-19 08:27:41 +01:00
parent 440f1cb081
commit a1d181d609

View file

@ -52,7 +52,7 @@ import {
stackCentre, stackCentre,
stepcat, stepcat,
sometimes, sometimes,
expand expand,
} from '../index.mjs'; } from '../index.mjs';
import { steady } from '../signal.mjs'; import { steady } from '../signal.mjs';
@ -1181,7 +1181,7 @@ describe('Pattern', () => {
expect(sameFirst(stepcat(pure(1), pure(2), pure(3).setSteps(undefined)), fastcat(1, 2, 3))); expect(sameFirst(stepcat(pure(1), pure(2), pure(3).setSteps(undefined)), fastcat(1, 2, 3)));
}); });
it('works with auto-reified values', () => { it('works with auto-reified values', () => {
expect(sameFirst(stepcat(expand(3, 'bd'), 'rim'), stepcat(expand(3, 'bd'), pure('rim')))) expect(sameFirst(stepcat(expand(3, 'bd'), 'rim'), stepcat(expand(3, 'bd'), pure('rim'))));
}); });
}); });
describe('shrink', () => { describe('shrink', () => {