Commit Graph

854 Commits

Author SHA1 Message Date
Juho Teperi eb57eb70dd Fix example site CI script in case of multiple parallel builds 2017-10-20 10:36:06 +03:00
Juho Teperi 35908d142d Merge pull request #282 from arbscht/synthetic-input
Support synthetic text input components
2017-10-20 10:20:42 +03:00
Juho Teperi c63fe944fd Merge pull request #313 from reagent-project/new-test-runner
New test runner
2017-10-20 10:20:11 +03:00
Juho Teperi b86adddec9 Merge pull request #154 from zoldar/master
Added support for collections in :class property
2017-10-20 10:08:43 +03:00
Adrian Gruntkowski cc731e8a77 Improve language in README.md 2017-10-20 08:41:55 +02:00
Adrian Gruntkowski 5045046f6a Add support for collections in :class property 2017-10-20 08:34:10 +02:00
Juho Teperi 9845d4ad76 Only update site from master branch commits 2017-10-18 15:09:18 +03:00
Juho Teperi aa48e35354 Deploy example site 2017-10-18 14:39:38 +03:00
Juho Teperi 52b0b2eba4 Fix demo site build script, stop usinn lein profile merging 2017-10-18 14:25:41 +03:00
Juho Teperi 03ff2ffe87 Add karma junit reporter & other config 2017-10-14 16:20:43 +03:00
Juho Teperi f31607b777 No need to run npm install two times 2017-10-14 13:14:58 +03:00
Juho Teperi be0ebb8a81 Add node_modules symlinks 2017-10-14 13:12:14 +03:00
Juho Teperi 519d7c968a Cache more node_modules dirs 2017-10-14 13:06:41 +03:00
Juho Teperi 3b51b08968 Run some testwrap test cases using after-render 2017-10-14 13:06:29 +03:00
Juho Teperi e0b8bd337b No need to mount test divs to dom 2017-10-14 13:06:10 +03:00
Juho Teperi 36509f79ff Catch all React errors during tests 2017-10-13 19:57:46 +03:00
Juho Teperi 7d074b55ed Remove test divs from dom after error 2017-10-13 19:21:44 +03:00
Juho Teperi 3fd0f1b1d8 Fix component-path on React 16 2017-10-13 19:20:56 +03:00
Juho Teperi 39b0326d22 Add componentDidCatch support and test (error boundary) 2017-10-13 19:20:36 +03:00
Juho Teperi c68f5a88f4 Optimize node modules, remove old stuff
- Removed webpack build for now, not up-to-date, can be added later if
needed
- Share node modules using symlinks for envs that use the same packages
2017-10-13 16:42:25 +03:00
Juho Teperi b81af9308a Fix doo & test result component on demo app 2017-10-13 16:00:04 +03:00
Juho Teperi f590c342eb Allow running figwheel from test-environments folders 2017-10-13 15:59:48 +03:00
Juho Teperi 2279ef4c9d Print test summary 2017-10-13 15:34:15 +03:00
Juho Teperi 14c43e066f Run all tests on their own directories
This allows running figwheel on main folder, without node_modules from
tests messing the environment.
2017-10-13 15:02:10 +03:00
Juho Teperi 46d0e9d701 Fix figwheel demo 2017-10-13 14:10:10 +03:00
Juho Teperi 399c35f2e8 Run tests against React 16 UMD 2017-10-13 14:09:59 +03:00
Juho Teperi 3b6887b7bd Fix 2017-10-13 11:28:14 +03:00
Juho Teperi 33ee8a89b9 Revert "React property _reactInternalInstance was removed in React 0.13"
This reverts commit 3f4a421f14.
2017-10-13 11:28:02 +03:00
Juho Teperi 4bfed50f33 Fix and note about property case test 2017-10-13 11:18:48 +03:00
Juho Teperi be45ec0aa7 Better style prop test 2017-10-13 11:18:32 +03:00
Juho Teperi 2904422bb3 Use React 15 for Node & Run tests for 16 2017-10-13 11:18:18 +03:00
Abhishek Reddy 74ff27f5b5 Reduce unnecessary evaluation of synthetic properties 2017-10-13 12:58:18 +13:00
Abhishek Reddy f89cd99604 Proof-of-concept of synthetic input support.
Synthetic inputs are React components that handle input,
but are not literally <input> nodes at their root level.
A synthetic component may be rendered, for example, as a
<div> containing an <input> in some arbitrary sub-location.

Adds support for a :synthetic-input keyword parameter to
adapt-react-class, which tags the component as a recognized
input component. The options map configures hooks for :on-update
and :on-change, to allow overriding default behaviour with
code that is specific to the nuances of the custom component's
DOM. Also adds :on-write keyword parameter to input-node-set-value
to override the value-setting behaviour.
2017-10-13 12:52:22 +13:00
Juho Teperi b2790e7bb4 Fix Node target file checks 2017-10-12 16:44:09 +03:00
Juho Teperi ef5c98eeba In Node & CJS React, style prop doesn't end in ; 2017-10-12 16:29:15 +03:00
Juho Teperi 47e386d49d Fix text case on some tests 2017-10-12 16:15:12 +03:00
Juho Teperi 6dc26c9cf0 React validates aria properties, if using Node module 2017-10-12 16:14:46 +03:00
Juho Teperi 3f4a421f14 React property _reactInternalInstance was removed in React 0.13 2017-10-12 16:12:31 +03:00
Juho Teperi df3443ba5f Fix test file checks 2017-10-12 15:59:16 +03:00
Juho Teperi 36b0924e2d Try fixing loading npm deps for tests 2017-10-12 15:46:04 +03:00
Juho Teperi 3d061329d8 Remove duplicate test-results var 2017-10-12 15:38:32 +03:00
Juho Teperi 80e85329f5 Limit JVM memory 2017-10-12 15:32:36 +03:00
Juho Teperi 3f70c6b0f7 Use Chrome-headless 2017-10-12 15:16:59 +03:00
Juho Teperi 957aa74bf4 Update deps 2017-10-12 13:52:27 +03:00
Juho Teperi 4f69a37fcc Fix tests on Chrome, don't load demo app on test runner 2017-09-29 11:02:34 +03:00
Juho Teperi 251d66180f Add Karma 2017-09-29 01:39:02 +03:00
Juho Teperi fd93b09c96 Rework test runner and prerendering
Use doo for tests.
2017-09-29 01:34:06 +03:00
Juho Teperi 95026c77fd Run CI tests against both Cljsjs and Node Modules 2017-09-28 22:41:34 +03:00
Juho Teperi c41f70cb0b Update CircleCI node version 2017-09-28 22:34:06 +03:00
Juho Teperi 6e2347e174 Update 0.8-upgrade.md 2017-09-28 22:22:26 +03:00