Skip to content

Commit

Permalink
add todo's
Browse files Browse the repository at this point in the history
  • Loading branch information
jwetzell committed May 2, 2024
1 parent 0f5fd6b commit 01873a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tests/triggers/mqtt-topic-trigger.test.js
Expand Up @@ -138,4 +138,6 @@ describe('MQTTTopicTrigger', () => {
const fired = trigger.shouldFire(new MIDIMessage([0xff], 'test'));
assert.strictEqual(fired, false);
});

// TODO(jwetzell): add combined wildcard tests
});
2 changes: 2 additions & 0 deletions lib/tests/triggers/osc-address-trigger.test.js
Expand Up @@ -170,4 +170,6 @@ describe('OSCAddressTrigger', () => {
assert.strictEqual(fired, false);
});
});

// TODO(jwetzell): add combined wildcard tests
});
2 changes: 2 additions & 0 deletions lib/tests/triggers/regex-trigger.test.js
Expand Up @@ -141,4 +141,6 @@ describe('RegexTrigger', () => {
const fired = trigger.test(new OSCMessage({ address: '/invalid', args: [] }, { address: '127.0.0.1', port: 0 }));
assert.strictEqual(fired, false);
});

// TODO(jwetzell): add more complicated regex tests
});
2 changes: 2 additions & 0 deletions lib/tests/triggers/sender-trigger.test.js
Expand Up @@ -77,4 +77,6 @@ describe('SenderTrigger', () => {
const fired = trigger.shouldFire(new UDPMessage(Buffer.from('test'), { address: '127.0.0.1', port: 0 }));
assert.strictEqual(fired, false);
});

// TODO(jwetzell): add tests for other message types
});

0 comments on commit 01873a2

Please sign in to comment.