this test is to ensure the process of running the test is working perfecet
This commit is contained in:
parent
8746ce056a
commit
f0c250de64
|
@ -1,5 +1,5 @@
|
||||||
const helloWorld = function() {
|
const helloWorld = function() {
|
||||||
return ''
|
return 'Hello, World!'
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = helloWorld;
|
module.exports = helloWorld;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const helloWorld = require('./helloWorld');
|
const greeting = require('./helloWorld');
|
||||||
|
|
||||||
describe('Hello World', function() {
|
describe('Hello World', function() {
|
||||||
test('says "Hello, World!"', function() {
|
test('says "Hello, World!"', function() {
|
||||||
expect(helloWorld()).toEqual('Hello, World!');
|
expect(greeting()).toEqual('Hello, World!');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue