Skip to content

[Sweep Rules] Create unit test for new business logic in regionController.js and Hierarchy.js #157

[Sweep Rules] Create unit test for new business logic in regionController.js and Hierarchy.js

[Sweep Rules] Create unit test for new business logic in regionController.js and Hierarchy.js #157

Triggered via pull request December 27, 2023 23:43
Status Failure
Total duration 2m 59s
Artifacts

eslint-back.yml

on: pull_request
check-paths
3s
check-paths
lint-backend
11s
lint-backend
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint-backend: backend/test/Hierarchy.test.js#L4
Unable to resolve path to module '../models/Hierarchy'
lint-backend: backend/test/Hierarchy.test.js#L4
Missing file extension for "../models/Hierarchy"
lint-backend: backend/test/Hierarchy.test.js#L7
'describe' is not defined
lint-backend: backend/test/Hierarchy.test.js#L9
'test' is not defined
lint-backend: backend/test/Hierarchy.test.js#L14
'Hierarchy' is not defined
lint-backend: backend/test/Hierarchy.test.js#L14
'jest' is not defined
lint-backend: backend/test/Hierarchy.test.js#L20
'expect' is not defined
lint-backend: backend/test/Hierarchy.test.js#L21
'expect' is not defined
lint-backend: backend/test/Hierarchy.test.js#L22
'expect' is not defined
lint-backend: backend/test/Hierarchy.test.js#L23
'expect' is not defined