open-consul/ui/packages/consul-ui/config/deprecation-workflow.js
Michael Klein bf9045db69
ui: add deprecation worfklow addon (#13877)
* add ember-cli-deprecation-workflow

* Add deprecation workflow configuration

This will silence all deprecations by default reducing noise in the test
output significantly.

We can tackle deprecations now one by one but won't have to deal with
very verbose console logs anymore.
2022-07-26 15:01:09 +02:00

20 lines
1 KiB
JavaScript

/* eslint-disable no-undef */
self.deprecationWorkflow = self.deprecationWorkflow || {};
self.deprecationWorkflow.config = {
workflow: [
{ handler: 'silence', matchId: 'ember-cli-page-object.string-properties-on-definition' },
{ handler: 'silence', matchId: 'ember-sinon-qunit.test' },
{ handler: 'silence', matchId: 'ember-qunit.deprecate-legacy-apis' },
{ handler: 'silence', matchId: 'ember-can.can-service' },
{ handler: 'silence', matchId: 'ember-data:model.toJSON' },
{ handler: 'silence', matchId: 'ember-cli-page-object.is-property' },
{ handler: 'silence', matchId: 'ember-views.partial' },
{ handler: 'silence', matchId: 'ember-component.send-action' },
{ handler: 'silence', matchId: 'ember-cli-page-object.multiple' },
{ handler: 'silence', matchId: 'computed-property.override' },
{ handler: 'silence', matchId: 'autotracking.mutation-after-consumption' },
{ handler: 'silence', matchId: 'ember-data:legacy-test-helper-support' },
{ handler: 'silence', matchId: 'ember-data:Model.data' },
],
};