Skip to content

Commit

Permalink
Use strict on integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee authored and lindgr3n committed Jun 27, 2017
1 parent d7981df commit 3488605
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions integration_tests/__tests__/moduleNameMapper-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

'use strict';

const runJest = require('../runJest');
const {extractSummary} = require('../utils');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
*/

'use strict';

module.exports = {};
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

'use strict';

const importedFn = require('../');

test('moduleNameMapping correct configuration', () => {
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/moduleNameMapper-correct-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/

'use strict';

require('./style.css');

module.exports = () => 'test';
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

'use strict';

const importedFn = require('../');

test('moduleNameMapping wrong configuration', () => {
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/moduleNameMapper-wrong-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/

'use strict';

require('./style.css');

module.exports = () => 'test';

0 comments on commit 3488605

Please sign in to comment.