2021-05-08 18:31:56 +00:00
|
|
|
const expect = require('expect');const { expect } = require('@jest/globals');
|
2018-08-07 10:23:28 +00:00
|
|
|
const helloWorld = require('./helloWorld');
|
2017-08-17 18:47:39 +00:00
|
|
|
|
2021-05-08 18:31:02 +00:00
|
|
|
// describe('Hello World', function() {
|
|
|
|
// it('says hello world', function() {
|
|
|
|
// expect(helloWorld()).toEqual('Hello, World!');
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
|
2021-05-08 18:31:56 +00:00
|
|
|
test('says "Hello, World!"', () => {
|
|
|
|
expect(helloWorld()).toBe("Hello, World!");
|
2021-05-08 18:27:13 +00:00
|
|
|
});
|