Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('needFixBatchComps', () => {
expect(helper.needFixBatchComps(true, false, true, false)).toEqual(true);
expect(helper.needFixBatchComps(true, false, true, true)).toEqual(null);
expect(helper.needFixBatchComps(true, true, false, true)).toEqual(false);
expect(helper.needFixBatchComps(true, true, false, false)).toEqual(null);
expect(helper.needFixBatchComps(false, false, false, false)).toEqual(null);
});
it('needFixBatchComps', () => {
expect(helper.needFixBatchComps(true, false, true, false)).toEqual(true);
expect(helper.needFixBatchComps(true, false, true, true)).toEqual(null);
expect(helper.needFixBatchComps(true, true, false, true)).toEqual(false);
expect(helper.needFixBatchComps(true, true, false, false)).toEqual(null);
expect(helper.needFixBatchComps(false, false, false, false)).toEqual(null);
});
it('needFixBatchComps', () => {
expect(helper.needFixBatchComps(true, false, true, false)).toEqual(true);
expect(helper.needFixBatchComps(true, false, true, true)).toEqual(null);
expect(helper.needFixBatchComps(true, true, false, true)).toEqual(false);
expect(helper.needFixBatchComps(true, true, false, false)).toEqual(null);
expect(helper.needFixBatchComps(false, false, false, false)).toEqual(null);
});
it('needFixBatchComps', () => {
expect(helper.needFixBatchComps(true, false, true, false)).toEqual(true);
expect(helper.needFixBatchComps(true, false, true, true)).toEqual(null);
expect(helper.needFixBatchComps(true, true, false, true)).toEqual(false);
expect(helper.needFixBatchComps(true, true, false, false)).toEqual(null);
expect(helper.needFixBatchComps(false, false, false, false)).toEqual(null);
});
it('needFixBatchComps', () => {
expect(helper.needFixBatchComps(true, false, true, false)).toEqual(true);
expect(helper.needFixBatchComps(true, false, true, true)).toEqual(null);
expect(helper.needFixBatchComps(true, true, false, true)).toEqual(false);
expect(helper.needFixBatchComps(true, true, false, false)).toEqual(null);
expect(helper.needFixBatchComps(false, false, false, false)).toEqual(null);
});