Commit Graph

472 Commits

Author SHA1 Message Date
Matthew Shao
de3042911a [web] Add tests for js/components/ContentView/CodeEditor.jsx 2017-06-01 20:33:22 +08:00
Matthew Shao
a53875443e [web] Remove mock-xmlhttprequest dependency. 2017-05-31 19:57:34 +08:00
Matthew Shao
b16a3ab083 [web] mock components/ContentView 2017-05-31 18:22:28 +08:00
Matthew Shao
e1c5f2a93e [web] Add tests for js/components/FlowView/Messages.jsx 2017-05-31 16:04:28 +08:00
Matthew Shao
d6e318b41d [web] Add mock-xmlhttprequest as dependency. 2017-05-31 16:00:12 +08:00
Matthew Shao
366d0d6280 [web] Add tests for js/components/FlowView/ToggleEdit.jsx 2017-05-30 21:47:50 +08:00
Matthew Shao
f840d018e5 [web] Add tests for js/components/FlowView/Nav.jsx 2017-05-30 21:46:17 +08:00
Matthew Shao
248dde2604 [web] Add tests for js/components/FlowView/Header.jsx 2017-05-30 21:31:08 +08:00
Matthew Shao
f2e8e57e1c [web] Add tests for js/components/FlowView/Details.jsx 2017-05-30 21:30:02 +08:00
Matthew Shao
a1ef0b697d [web] Add tests for js/components/EventLog/EventList.jsx 2017-05-29 20:39:10 +08:00
Matthew Shao
a0ec6f58e9 [web] Update snapshot. 2017-05-29 09:33:36 +08:00
Matthew Shao
a0bb64fdd3 [web] Minor fixes. 2017-05-29 09:15:29 +08:00
Matthew Shao
9c90d13149 [web] Add tests for js/components/Header/MainMenu.js 2017-05-28 19:20:09 +08:00
Matthew Shao
fbaa842a46 [web] Add tests for js/components/Header/OptionMenu.jsx 2017-05-27 23:12:37 +08:00
Matthew Shao
134331b997 [web] Add tests for js/components/Header/MenuToogle.jsx 2017-05-27 22:56:10 +08:00
Matthew Shao
62d39200d0 [web] Update js/Component/Header/FlowMenu.jsx 2017-05-27 21:43:06 +08:00
Matthew Shao
6abb04c4f8 [web] Add snapshot files. 2017-05-27 21:24:23 +08:00
Matthew Shao
ddc03df4f6 [web] Add tests for js/components/Header/FlowMenu.jsx 2017-05-27 21:22:49 +08:00
Matthew Shao
cdb256682e [web] Add TStore in js/__tests__/ducks/tutils.js 2017-05-27 21:19:49 +08:00
Matthew Shao
b1d29dcaa1 [web] Remove jest-fetch-mock dependency. 2017-05-27 21:13:21 +08:00
Matthew Shao
fbdbb097a3 [web] Add tests for js/components/Header/FilterInput.jsx 2017-05-26 18:08:29 +08:00
Matthew Shao
04e2f7e14c [web] Add tests for js/components/Header/FileMenu.jsx 2017-05-26 17:27:36 +08:00
Matthew Shao
1d7e554487 [web] Add tests for js/components/Header/ConnectionIndicator.jsx 2017-05-26 17:25:51 +08:00
Matthew Shao
05d78a8353 [web] js/components/Header/FilterDocs.jsx coverage ++ 2017-05-26 17:23:57 +08:00
Matthew Shao
653505e734 [web] Add tests for js/components/Header/FilterDocs.js 2017-05-23 19:06:57 +08:00
Matthew Shao
8b5160ce58 [web] Add tests for js/components/FlowTable/FlowTableHead.js 2017-05-22 21:32:08 +08:00
Matthew Shao
ab564ea5fd [web] Add tests for js/components/FlowTable/FlowRow.js 2017-05-22 21:26:27 +08:00
Matthew Shao
546bac68d4 [web] Fix 100% coverage for js/components/FlowTable/FlowColumns.js 2017-05-22 10:46:03 +08:00
Matthew Shao
2c38fddea5 [web] TFlow minor improved. 2017-05-21 20:59:19 +08:00
Matthew Shao
55a58c4c6f [web] Add js/__tests__/ducks/_tflow.js 2017-05-19 10:17:06 +08:00
Matthew Shao
5df0ddf358 [web] Updates test to use the new _tflow.js. 2017-05-19 09:50:12 +08:00
Matthew Shao
4e4be8bd68 [web] Update snapshot. 2017-05-18 11:14:26 +08:00
Matthew Shao
d902b851c8 [web] Minor fixes for component tests. 2017-05-18 10:42:06 +08:00
Matthew Shao
d290be2327 [web] Add tests for js/components/FlowTable/FlowColumnsSpec.js 2017-05-17 22:33:29 +08:00
Matthew Shao
22a1709c8b [web] Add a TFlow class to js/ducks/tutils.js
Many Components requires a flow object when being rendered, so we put a TFlow
class here, currently has the minimize structure, only contains the
attributes we needed in the components to be tested.
2017-05-17 22:27:20 +08:00
Matthew Shao
204dea4a2e [web] Add tests for src/js/components/ValueEditor/ValueEditor.js 2017-05-16 23:03:03 +08:00
Matthew Shao
d63e01d48d [web] Add tests for js/components/ValueEditor/ValidateEditor.js 2017-05-16 18:00:14 +08:00
Matthew Shao
c327ae853c [web] Add tests for js/components/helpers/AutoScroll.js 2017-05-15 17:55:06 +08:00
Matthew Shao
6757eda23a [web] Add tests for js/components/helpers/VirtualScroll.js 2017-05-15 16:44:02 +08:00
Matthew Shao
801f78f3ed [web] Add tests for js/components/common/Splitter.jsx 2017-05-15 10:08:48 +08:00
Matthew Shao
5c5f308a24 [web] Minor fix for FileChooser.jsx 2017-05-13 21:01:59 +08:00
Matthew Shao
ace67b5a87 [web] Add tests for js/components/common/ToggleInputButton.jsx 2017-05-12 09:07:28 +08:00
Matthew Shao
2b5a300284 [web] Add tests for js/components/common/ToggleButton.jsx 2017-05-12 09:05:06 +08:00
Matthew Shao
782d564e76 [web] Add tests for js/components/common/FileChooser.jsx & minor fix. 2017-05-12 08:58:37 +08:00
Matthew Shao
9a7ac14654 [web] Add tests for js/components/common/DocsLink.jsx 2017-05-11 10:25:45 +08:00
Matthew Shao
ce15501c54 [web] Add tests for js/components/common/Dropdown.jsx 2017-05-11 08:43:50 +08:00
Matthew Shao
f295bfd558 [web] Add 'react-test-renderer' dependency. 2017-05-11 08:27:40 +08:00
Matthew Shao
f3e5c35b49 [web] Add tests for js/components/common/Button.jsx 2017-05-11 08:19:10 +08:00
Maximilian Hils
537d5fa229 web: do not collect coverage when invoking "jest"
this is annoying when runnig jest --watch=all.
2017-05-09 19:12:56 +02:00
Maximilian Hils
457bc36d7f web: clear mock store actions after each test 2017-05-09 19:10:48 +02:00