'make test' and 'make lint' show errors after fresh clone on system
Hello, I recently cloned the repository and run the commands 'make test' and 'make lint'. Both the commands show errors : Output of both the commands,
prateek@prateek:~/codes/nodeunit$ make test node ./bin/nodeunit test
test-base ✔ testCalled ✔ testOk ✔ testEquals ✔ testSame ✔ testEqual ✔ testNotEqual ✔ testDeepEqual ✔ testNotDeepEqual ✔ testStrictEqual ✔ testNotStrictEqual ✔ testThrows ✔ testThrowsWithReGex ✔ testThrowsWithErrorValidation ✔ testDoesNotThrows ✔ testIfError ✔ testExpect
test-bettererrors ✖ testEqual
AssertionError: expected [String: 'AssertionError\n at Object.exports.testEqual (/home/prateek/codes/nodeunit/test/test-bettererrors.js:29:16)\n at Object.
✔ testAssertThrows ✔ testErrorIsNotAssertion
test-cli ✔ run test suite using absolute path
test-failing-callbacks ✔ testFailingLog ✔ testFailingTestDone ✔ testAssertionObj ✔ testLogOptional ✔ testExpectWithFailure
test-httputil (node) http.createClient is deprecated. Use http.request instead. ✔ testHttpUtilBasics ✔ testHttpUtilJsonHandling
test-runfiles ✔ testRunFiles ✔ testRunFilesEmpty ✖ testEmptyDir
TypeError: path.exists is not a function
at Object.exports.testEmptyDir (/home/prateek/codes/nodeunit/test/test-runfiles.js:119:10)
at Object.
test-runmodule ✔ testRunModule ✔ testRunModuleTestSpec ✔ testRunModuleEmpty ✔ testNestedTests
test-runtest ✔ testArgs ✔ testDoneCallback ✔ testThrowError
test-sandbox ✔ testSimpleSandbox ✔ testSandboxContext ✔ testSandboxMultiple
test-testcase ✔ testTestCase ✔ tearDownAfterError ✔ catchSetUpError ✔ setUpErrorCallback ✔ catchTearDownError ✔ tearDownErrorCallback ✔ testErrorAndtearDownError ✔ testCaseGroups ✔ nestedTestCases ✔ deepNestedTestCases
test-testcase-legacy ✔ testTestCase ✔ tearDownAfterError ✔ catchSetUpError ✔ setUpErrorCallback ✔ catchTearDownError ✔ tearDownErrorCallback ✔ testErrorAndtearDownError ✔ testCaseGroups ✔ nestedTestCases ✔ deepNestedTestCases
FAILURES: 2/217 assertions failed (276ms) make: *** [test] Error 1
prateek@prateek:~/codes/nodeunit$ make lint nodelint --config nodelint.cfg ./index.js ./bin/nodeunit ./bin/nodeunit.json ./lib/.js ./lib/reporters/.js ./test/*.js undefined:2557 s.string = s; ^
TypeError: Cannot assign to read only property 'string' of (begin)
at ultimate (eval at
System configuration : Ubuntu 14.04, 64 bit
Node version : 4.4.1 NPM version : 2.14.20