Created
June 1, 2021 00:24
-
-
Save YannMjl/3ec988b10424ccaece27701699dad1a9 to your computer and use it in GitHub Desktop.
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
// **************************************************************** | |
// We're testing our app using JEST library | |
// Jest is a library for testing JavaScript code. It's an open | |
// source project maintained by Facebook. | |
// Jest is a way for having access to test runner and assertion | |
// library for NodeJS applications. | |
// **************************************************************** | |
describe("Testing our nodeJS app", () => { | |
it("Testing using Github Actions", () => { | |
// exoecting 3 functions and receiving 3 | |
// this test will pass unless the value change | |
expect(3).toBe(3); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment