Revert "update tests, multiple exercises"

This reverts commit 2eb02ea212.
This commit is contained in:
Tatiana
2021-05-08 11:31:02 -07:00
parent eec196df17
commit 674fcf8e56
11 changed files with 72 additions and 63 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
const helloWorld = function() {
return ''
return 'Yello Wold!'
}
module.exports = helloWorld
+11 -4
View File
@@ -1,7 +1,14 @@
const expect = require('expect');
const helloWorld = require('./helloWorld');
describe('Hello World', function() {
it('says hello world', function() {
expect(helloWorld()).toEqual('Hello, World!');
});
// describe('Hello World', function() {
// it('says hello world', function() {
// expect(helloWorld()).toEqual('Hello, World!');
// });
// });
describe('helloWorld', function() {
test('says "Hello, World!"', function() {
expect(helloWorld()).toBe("Hello, World!");
})
});