4e05f89413
This is largely a straight-forward copy of the Karma spec, with the usual Karma->Jest necessary changes. This also fixes a bug in the implementation that was causing the tests to fail, when run on Jest/node, whereby actions that return rejected promises would always fail the given test. This was due to those rejections not being caught in the same call stack in which they were created. |
||
---|---|---|
.. | ||
class_spec_helper.js | ||
fixtures.js | ||
jest_helpers.js | ||
jquery.js | ||
local_storage_helper.js | ||
locale_helper.js | ||
monitor_helper_spec.js | ||
scroll_into_view_promise.js | ||
set_timeout_promise_helper.js | ||
test_constants.js | ||
text_helper.js | ||
timeout.js | ||
user_mock_data_helper.js | ||
vue_mount_component_helper.js | ||
vue_resource_helper.js | ||
vue_test_utils_helper.js | ||
vuex_action_helper.js | ||
vuex_action_helper_spec.js | ||
wait_for_attribute_change.js | ||
wait_for_promises.js |