parent
ee85d606fd
commit
ffb5d83187
3 changed files with 4 additions and 10014 deletions
|
@ -1,12 +1,7 @@
|
|||
const { expect } = require('@jest/globals');
|
||||
const helloWorld = require('./helloWorld');
|
||||
|
||||
// describe('Hello World', function() {
|
||||
// it('says hello world', function() {
|
||||
// expect(helloWorld()).toEqual('Hello, World!');
|
||||
// });
|
||||
// });
|
||||
|
||||
test('says "Hello, World!"', () => {
|
||||
expect(helloWorld()).toBe("Hello, World!");
|
||||
describe('Hello World', function() {
|
||||
it('says hello world', function() {
|
||||
expect(helloWorld()).toEqual('Hello, World!');
|
||||
});
|
||||
});
|
||||
|
|
9997
package-lock.json
generated
9997
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"jest": "^26.6.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue