Skip to content

chore: migrate jest-docblock to TypeScript#7836

Merged
SimenB merged 2 commits intojestjs:masterfrom
SimenB:ts-docblock
Feb 8, 2019
Merged

chore: migrate jest-docblock to TypeScript#7836
SimenB merged 2 commits intojestjs:masterfrom
SimenB:ts-docblock

Conversation

@SimenB
Copy link
Copy Markdown
Member

@SimenB SimenB commented Feb 8, 2019

Summary

Built diff:

Details
diff --git c/packages/jest-docblock/build/index.js w/packages/jest-docblock/build/index.js
index 8c60ffcd1..24f2b052c 100644
--- c/packages/jest-docblock/build/index.js
+++ w/packages/jest-docblock/build/index.js
@@ -9,20 +9,20 @@ exports.parse = parse;
 exports.parseWithComments = parseWithComments;
 exports.print = print;
 
-function _detectNewline() {
-  const data = _interopRequireDefault(require('detect-newline'));
+function _os() {
+  const data = require('os');
 
-  _detectNewline = function _detectNewline() {
+  _os = function _os() {
     return data;
   };
 
   return data;
 }
 
-function _os() {
-  const data = require('os');
+function _detectNewline() {
+  const data = _interopRequireDefault(require('detect-newline'));
 
-  _os = function _os() {
+  _detectNewline = function _detectNewline() {
     return data;
   };
 
@@ -38,8 +38,6 @@ function _interopRequireDefault(obj) {
  *
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
- *
- *
  */
 const commentEndRe = /\*\/$/;
 const commentStartRe = /^\/\*\*/;

Test plan

Green CI

@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants