Skip to content

Commit 3ffbcf5

Browse files
committed
add .git test
1 parent 09b7126 commit 3ffbcf5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/index-test.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const jsdom = require( 'jsdom' );
2+
const path = require( 'path' );
3+
var chai = require( 'chai' );
4+
chai.use( require( 'chai-fs' ) );
5+
6+
describe( 'This assignment', () => {
7+
it( 'has been correctly cloned to your local environment', () => {
8+
chai.assert.isDirectory( './.git', 'no ".git" folder was found within "welcome-completing-assignment". Use "git init" to create one' );
9+
} )
10+
} )

0 commit comments

Comments
 (0)