Update autograding.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0-javascript (main) | ||
$ npm test | ||
> Assignment#0 Hello world!@2.0.0 test | ||
> jest | ||
FAIL spec/hello.spec.js | ||
× Checking to see if the test outputs the correct message.. (4 ms) | ||
● Checking to see if the test outputs the correct message.. | ||
expect(received).toBe(expected) // Object.is equality | ||
Expected: "Hello world!" | ||
Received: "\"Hello world!\"" | ||
2 | | ||
3 | test('Checking to see if the test outputs the correct message..', () => { | ||
> 4 | expect(hello()).toBe("Hello world!"); | ||
| ^ | ||
5 | }); | ||
6 | | ||
at Object.toBe (spec/hello.spec.js:4:18) | ||
Test Suites: 1 failed, 1 total | ||
Tests: 1 failed, 1 total | ||
Snapshots: 0 total | ||
Time: 0.25 s, estimated 1 s | ||
Ran all test suites. | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ node index.js | ||
"Hello world!" | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ npm test | ||
> Assignment#0 Hello world!@2.0.0 test | ||
> jest | ||
FAIL spec/hello.spec.js | ||
× Checking to see if the test outputs the correct message.. (3 ms) | ||
● Checking to see if the test outputs the correct message.. | ||
expect(received).toBe(expected) // Object.is equality | ||
Expected: "Hello world!" | ||
Received: "\"Hello world!\"" | ||
2 | | ||
3 | test('Checking to see if the test outputs the correct message..', () => { | ||
> 4 | expect(hello()).toBe("Hello world!"); | ||
| ^ | ||
5 | }); | ||
6 | | ||
at Object.toBe (spec/hello.spec.js:4:18) | ||
Test Suites: 1 failed, 1 total | ||
Tests: 1 failed, 1 total | ||
Snapshots: 0 total | ||
Time: 0.249 s, estimated 1 s | ||
Ran all test suites. | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ git status | ||
On branch main | ||
Your branch is up to date with 'origin/main'. | ||
nothing to commit, working tree clean | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ git add . | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ git commit -m Hello world! again | ||
error: pathspec 'world!' did not match any file(s) known to git | ||
error: pathspec 'again' did not match any file(s) known to git | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ git commit -m "Hello again!" | ||
On branch main | ||
Your branch is up to date with 'origin/main'. | ||
nothing to commit, working tree clean | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ git push | ||
Everything up-to-date | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ | ||
* History restored | ||
Strano PMD@DESKTOP-KINBFNT MINGW64 ~/LaunchCode/assignment0-javascript (main) | ||
$ |