Files
odin-javascript-exercises/helloWorld/helloWorld.spec.js
T

14 lines
367 B
JavaScript
Raw Normal View History

const expect = require('expect');
2018-08-07 11:23:28 +01:00
const helloWorld = require('./helloWorld');
2017-08-17 13:47:39 -05:00
2021-03-03 15:13:24 +13:00
// 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!");
})
2021-03-03 15:13:24 +13:00
});