Skip to content

Commit 6cdffe5

Browse files
authored
Merge pull request #17 from hienqn/implementtravisci
You now have Travis CI running after each commit
2 parents 7561c47 + 0345563 commit 6cdffe5

File tree

10 files changed

+96
-84
lines changed

10 files changed

+96
-84
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tests/manual-tests/recoilTest"]
2+
path = tests/manual-tests/recoilTest
3+
url = https://github.com/kevinfey/recoilTest

.travis.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
services:
2-
- docker
1+
language: node_js
2+
node_js:
3+
- 12
4+
dist: trusty
5+
cache: npm
6+
git:
7+
submodules: false
8+
# branches:
9+
# only:
10+
# - implementtravisci
11+
install:
12+
- npm install
313
script:
4-
- docker-compose up --abort-on-container-exit
14+
- npm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "webpack --mode production",
1717
"dev": "webpack --mode development --watch",
18-
"test": "jest --verbose --coverage --watchAll --runInBand --detectOpenHandles --forceExit",
18+
"test": "jest --verbose --coverage --watchAll --forceExit",
1919
"docker-test-lint": "eslint --ext .js --ext .jsx src",
2020
"docs": "typedoc --json docs --inputFiles src/app --inputFiles src/backend --readme docs/readme.md"
2121
},

src/backend/linkFiber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ export default (snap: Snapshot, mode: Mode): (() => void) => {
156156
if (window[`$recoilDebugStates`]) {
157157
isRecoil = true;
158158
}
159+
159160
const atomArray = [];
160161
// fiberRoot.current.child.child.memoizedProps.value.current
161162
// .getState()
@@ -359,7 +360,6 @@ export default (snap: Snapshot, mode: Mode): (() => void) => {
359360
};
360361
})(devTools.onCommitFiberRoot);
361362
}
362-
363363
throttledUpdateSnapshot();
364364
};
365365
};

tests/manual-tests/CalculatorClasses/public/favicon.ico

100755100644
File mode changed.

tests/manual-tests/CalculatorHooks/public/favicon.ico

100755100644
File mode changed.

tests/manual-tests/ConcurrentMode/node_modules/reactime/assets/readme-logo-svg.svg

Lines changed: 38 additions & 38 deletions
Loading

tests/manual-tests/NextJS/node_modules/reactime/assets/readme-logo-svg.svg

Lines changed: 38 additions & 38 deletions
Loading

tests/manual-tests/counterContextHooks/.gitignore

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/node_modules/*
2-
!/node_modules/reactime
1+
/node_modules/*
2+
!/node_modules/reactime
33
.DS_Store

tests/manual-tests/todolist

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)