Skip to content

Commit

Permalink
Move __test__ directory into src directory (#9)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
robertxluo authored Jul 31, 2020
1 parent 697ee1b commit 54bd069
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions __test__/index.test.js → src/__test__/index.test.js
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down

0 comments on commit 54bd069

Please sign in to comment.