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

5 lines
137 B
JavaScript

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