Open nishat-sayyed opened 4 years ago
Can you, please, revert changes with white-space applied? It looks the semicolons were removed as well, not only unifiying the spaces. See ESLint config:
"semi": ["error", "always"], "quotes": ["error", "double"],
Not sure why it fails on CI, for me it works OK locallly. You could automate fix with package:
npm run lint
Thanks @peterblazejewicz I'll try that once I am free.
The chai testing framework is not required as Jest comes bundled with
expect
and other utility methods.Following two files were using chai
Also removed chai from package.json and added
"include": ["src/**/*", "test/**/*"]
in tsconfig.json to support Typescript in the test directory.All test cases are passing after the change as you can see in the attachment