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

8 lines
187 B
JavaScript

const helloWorld = require('./helloWorld');
describe('Hello World', function() {
test('says "Hello, World!"', function() {
expect(helloWorld()).toEqual('Hello, World!');
});
});