nested controls poc
This commit is contained in:
parent
fa7c16dbe7
commit
4f55144232
2 changed files with 29 additions and 19 deletions
|
|
@ -25,4 +25,8 @@ describe('controls', () => {
|
|||
{ s: 'sd', n: 4, gain: 0.5 },
|
||||
]);
|
||||
});
|
||||
it('should support nested controls', () => {
|
||||
expect(s(mini('bd').pan(1)).firstCycleValues).toEqual([{ s: 'bd', pan: 1 }]);
|
||||
expect(s(mini('bd:1').pan(1)).firstCycleValues).toEqual([{ s: 'bd', n: 1, pan: 1 }]);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue