From 3e1e068013899c14bb0155930a8e663b5e6f3ddd Mon Sep 17 00:00:00 2001 From: kialam Date: Fri, 30 Nov 2018 12:03:26 -0500 Subject: [PATCH] Add boundary checks for `getReadyCount` method. --- awx/ui/test/unit/components/stream.unit.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui/test/unit/components/stream.unit.js b/awx/ui/test/unit/components/stream.unit.js index 78cec087aa..de0779cccd 100644 --- a/awx/ui/test/unit/components/stream.unit.js +++ b/awx/ui/test/unit/components/stream.unit.js @@ -83,7 +83,10 @@ describe('Output | StreamService', () => { const params = [ [null, 1, 0], [undefined, 1, NaN], - ['1', 1, 1] + ['1', 1, 1], + [-1, -3, 3], + [0, 0, 1], + [6, 5, 2] ]; params.forEach(([x, y, z]) => {