Skip to content

Commit 5226637

Browse files
author
js-jslog
committed
Add a templates folder with a template for a simple tdd experiment
1 parent dd062d8 commit 5226637

File tree

4 files changed

+5159
-0
lines changed

4 files changed

+5159
-0
lines changed

templates/tdd/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const index = function index() {};
2+
3+
module.exports = { index };

templates/tdd/index.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const index = require('./index');
2+
3+
test('index contains an index function', () => {
4+
expect(index.index).toBeDefined();
5+
});

0 commit comments

Comments
 (0)