Skip to content

Commit

Permalink
Tests, documentation and fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Apr 21, 2016
1 parent d4621fe commit 9b39c4e
Show file tree
Hide file tree
Showing 29 changed files with 1,415 additions and 318 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"arrow-spacing": [2],
"babel/arrow-parens": [2, "as-needed"],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"camelcase": [2, {"properties": "always"}],
"comma-dangle": [2, "always-multiline"],
"comma-spacing": [2],
"comma-style": [2, "last"],
Expand Down
2 changes: 2 additions & 0 deletions packages/jest-environment-jsdom/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__mocks__/
__tests__/
2 changes: 2 additions & 0 deletions packages/jest-environment-node/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__mocks__/
__tests__/
2 changes: 2 additions & 0 deletions packages/jest-haste-map/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__mocks__/
__tests__/
3 changes: 2 additions & 1 deletion packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-haste-map",
"version": "11.0.0",
"version": "11.0.2",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git"
Expand All @@ -13,6 +13,7 @@
"graceful-fs": "^4.1.3"
},
"jest": {
"testEnvironment": "node",
"unmockedModulePathPatterns": [
"denodeify"
]
Expand Down
11 changes: 0 additions & 11 deletions packages/jest-haste-map/src/__mocks__/fs.js

This file was deleted.

211 changes: 0 additions & 211 deletions packages/jest-haste-map/src/__mocks__/graceful-fs.js

This file was deleted.

18 changes: 14 additions & 4 deletions packages/jest-haste-map/src/__tests__/fastpath-test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* 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.
*
* @emails oncall+jsinfra
*
* original author: dead_horse <dead_horse@qq.com>
* ported by: yaycmyk <evan@yaycmyk.com>
*/

// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Expand All @@ -19,10 +32,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

/*
* original author: dead_horse <dead_horse@qq.com>
* ported by: yaycmyk <evan@yaycmyk.com>
*/
/* eslint-disable fb-www/soft-max-len */
'use strict';

jest.unmock('../fastpath');
Expand Down
Loading

0 comments on commit 9b39c4e

Please sign in to comment.