Skip to content
/ jest Public
forked from jestjs/jest

Commit

Permalink
Extract docblock into it's own module
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 2, 2017
1 parent c328acb commit 7c8fa65
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/jest-docblock/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/__mocks__/**
**/__tests__/**
src
10 changes: 10 additions & 0 deletions packages/jest-docblock/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "jest-docblock",
"version": "19.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"license": "BSD-3-Clause",
"main": "build/index.js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'use strict';

const os = require('os');
const docblock = require('../docblock');
const docblock = require('../');

describe('docblock', () => {

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"fb-watchman": "^2.0.0",
"graceful-fs": "^4.1.6",
"jest-docblock": "^19.0.0",
"micromatch": "^2.3.11",
"sane": "~1.5.0",
"worker-farm": "^1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-haste-map/src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type {HasteImpl, WorkerMessage, WorkerCallback} from './types';

const H = require('./constants');

const docblock = require('./lib/docblock');
const docblock = require('jest-docblock');
const extractRequires = require('./lib/extractRequires');
const fs = require('graceful-fs');
const path = require('path');
Expand Down

0 comments on commit 7c8fa65

Please sign in to comment.