Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Added global to avoid not defined warn #397
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-martic-sociomantic committed Jul 2, 2018
1 parent b4a3fc3 commit c180ef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cfg/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
// Map module aliases to directories
{
componentDriver : '<rootDir>/src/Testing/index',
'nessie-ui' : '<rootDir>/src/index',
'nessie-ui' : '<rootDir>/src/index'
},
// Mock assets
{
Expand Down
2 changes: 2 additions & 0 deletions src/Testing/setupTestFramework.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* global document Range */

// toBeType extension; to the date, Jest didn't implement this natively
// https://github.com/facebook/jest/issues/3457#issuecomment-334846026
expect.extend( {
Expand Down

0 comments on commit c180ef8

Please sign in to comment.