Merge branch 'origin/master' into 'jest'

This commit is contained in:
Marvin Gay
2021-05-12 21:45:11 -04:00
16 changed files with 129 additions and 122 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ const helloWorld = function() {
return ''
}
module.exports = helloWorld;
module.exports = helloWorld
+4 -2
View File
@@ -1,5 +1,7 @@
const helloWorld = require('./helloWorld');
test('says "Hello, World!"', function() {
expect(helloWorld()).toBe("Hello, World!");
describe('Hello World', function() {
it('says hello world', function() {
expect(helloWorld()).toEqual('Hello, World!');
});
});