consul/ui-v2/tests/unit/utils
John Cowen 99c51c9f86
UI: Reduce in-development deprecations (also use toLocaleString) (#4677)
Various ember addons produced deprecation messages, some in the browser
console and some in terminal. Upgrading and replacing some of these has
reduced this.

Upgrades:

- ember-collection
- ember-computed-style

Replacements:

- ember-pluralize replaced with ember-inflector
- ember-cli-format-number replaced with custom helper using standard
`toLocaleString`

Removing ember-cli-format-number also meant some further changes related
to decimal places in the tomography graph, done using `toFixed`

The ExternalSources background-images have also now been escaped
correctly preventing in-development `console` warnings.

The only deprecation warnings are now from ember-block-slots, only in
terminal, making for a better development experience overall, especially now we
have an empty browser console

Also adds a `callIfType` 'helper util' which is a util specifically for helpers (it conforms to a helper argument signature) to be expanded upon later.
2018-10-01 13:42:42 +01:00
..
helpers UI: Reduce in-development deprecations (also use toLocaleString) (#4677) 2018-10-01 13:42:42 +01:00
model Tie up real endpoints 2018-06-25 12:25:15 -07:00
ascend-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
atob-test.js Looking into atob functionality, consequence of Value: null 2018-07-05 13:35:06 +01:00
callable-type-test.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
confirm-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
createURL-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
get-component-factory-test.js Add a couple more unit tests for the utils folder 2018-06-12 11:24:36 +01:00
hasStatus-test.js Add a couple more unit tests for the utils folder 2018-06-12 11:24:36 +01:00
injectableRequestToJQueryAjaxHash-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
isFolder-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
keyToArray-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
left-trim-test.js Adds filtering to the KV listing page 2018-06-12 11:24:35 +01:00
makeAttrable-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
promisedTimeout-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
qsa-factory-test.js Add a couple more unit tests for the utils folder 2018-06-12 11:24:36 +01:00
remove-null-test.js Looking into atob functionality, consequence of Value: null 2018-07-05 13:35:06 +01:00
right-trim-test.js Adds filtering to the KV listing page 2018-06-12 11:24:35 +01:00
sumOfUnhealthy-test.js Add a couple more unit tests for the utils folder 2018-06-12 11:24:36 +01:00
ucfirst-test.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00