From 54bd0694ccd2d6272b4e35f3548a6b1a2ea321f7 Mon Sep 17 00:00:00 2001 From: Robert Luo Date: Thu, 30 Jul 2020 19:58:22 -0500 Subject: [PATCH] Move __test__ directory into src directory (#9) * Add Shane Allan * Install jest and eslint jest * Add additional ESLInt rule * Bump to 0.0.1-beta.2 * Move __test__ folder to src * Bump version to 0.0.1-beta.1 --- package-lock.json | 4 ++-- package.json | 2 +- {__test__ => src/__test__}/index.test.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename {__test__ => src/__test__}/index.test.js (92%) diff --git a/package-lock.json b/package-lock.json index fc469f8..0811e80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-pinpoint", - "version": "0.0.1-beta.1", + "version": "0.0.1-beta.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7250,4 +7250,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 0c9c4db..2d750e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-pinpoint", - "version": "0.0.1-beta.1", + "version": "0.0.1-beta.3", "description": "YEAH", "main": "src/index.js", "scripts": { diff --git a/__test__/index.test.js b/src/__test__/index.test.js similarity index 92% rename from __test__/index.test.js rename to src/__test__/index.test.js index a5f5f1f..09c1879 100644 --- a/__test__/index.test.js +++ b/src/__test__/index.test.js @@ -1,8 +1,8 @@ // const React = require('react'); import React from 'react'; const TestRenderer = require('react-test-renderer'); -const names = require('../src/index'); -const { mountToReactRoot, getAllSlowComponentRenders, getCircularReplacer } = require('../src/utils/utils'); +const names = require('../index'); +const { mountToReactRoot, getAllSlowComponentRenders, getCircularReplacer } = require('../utils/utils'); describe('all names test', () => { it('expects Robbie, Jeffie, Mattie, Taie, and Shane Allan in the array', () => {