Skip to content

feat(barcode): polish :clean: #3981

feat(barcode): polish :clean:

feat(barcode): polish :clean: #3981

Triggered via push September 5, 2024 05:15
Status Failure
Total duration 5m 9s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Basic tests: src/navigation/courier/UpdateParcel.js#L34
Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError
Basic tests: src/navigation/courier/barcode/Barcode.js#L133
React Hook useEffect has missing dependencies: 'askAssign' and 'askUnassign'. Either include them or remove the dependency array
Basic tests: src/navigation/courier/barcode/Barcode.js#L138
React Hook useEffect has a missing dependency: 'checkMultiplePackages'. Either include it or remove the dependency array
Basic tests: src/navigation/courier/barcode/BarcodeIncident.js#L46
React Hook useEffect has a missing dependency: 'navigation'. Either include it or remove the dependency array
Basic tests
Process completed with exit code 1.
Basic tests: src/API.js#L347
Promise executor functions should not be async
Basic tests: src/API.js#L490
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/API.js#L569
'refreshToken' is already declared in the upper scope on line 569 column 5
Basic tests: src/API.js#L688
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/API.js#L724
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/API.js#L725
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/API.js#L726
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/AppUser.js#L95
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/AppUser.js#L98
Do not access Object.prototype method 'hasOwnProperty' from target object
Basic tests: src/__tests__/API.test.js#L120
Disabled test