mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Add boundary checks for getReadyCount method.
This commit is contained in:
@@ -83,7 +83,10 @@ describe('Output | StreamService', () => {
|
|||||||
const params = [
|
const params = [
|
||||||
[null, 1, 0],
|
[null, 1, 0],
|
||||||
[undefined, 1, NaN],
|
[undefined, 1, NaN],
|
||||||
['1', 1, 1]
|
['1', 1, 1],
|
||||||
|
[-1, -3, 3],
|
||||||
|
[0, 0, 1],
|
||||||
|
[6, 5, 2]
|
||||||
];
|
];
|
||||||
|
|
||||||
params.forEach(([x, y, z]) => {
|
params.forEach(([x, y, z]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user