odin-default-js-exercises/helloWorld/helloWorld.spec.js

8 lines
187 B
JavaScript
Raw Permalink Normal View History

const helloWorld = require('./helloWorld');
2017-08-17 18:47:39 +00:00
describe('Hello World', function() {
test('says "Hello, World!"', function() {
2021-05-28 19:55:43 +00:00
expect(helloWorld()).toEqual('Hello, World!');
});
});