From 839660d12f7b4a25eae9d081b8b89fdf001b6875 Mon Sep 17 00:00:00 2001 From: oliver Date: Thu, 10 Sep 2026 15:46:53 +0800 Subject: [PATCH] Fix monitor test syntax after settleRun duration coverage. Co-authored-by: Cursor --- test/monitor.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/monitor.test.js b/test/monitor.test.js index 25a6bb6..3192cf5 100644 --- a/test/monitor.test.js +++ b/test/monitor.test.js @@ -49,6 +49,7 @@ test('settleRun keeps running enter time and stamps exitedAt separately', () => assert.ok(run.exitedAt > run.stateEnteredAt) }) +test('labelsMatch any/all', () => { const job = { role: 'worker', task: 'theory', owner: 'alice' } assert.equal(labelsMatch(job, { role: 'worker', task: 'theory' }, 'all'), true) assert.equal(labelsMatch(job, { role: 'worker', owner: 'bob' }, 'all'), false)