Skip to content

Commit

Permalink
Use new module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jul 6, 2017
1 parent c1b7a99 commit 2e7edea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions addon/utils/bind-data-test-attributes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Ember from 'ember';

const { warn, isArray } = Ember;
import { warn } from '@ember/debug';
import { isArray } from '@ember/array';

const TEST_SELECTOR_PREFIX = /data-test-.*/;

Expand Down
4 changes: 1 addition & 3 deletions tests/unit/utils/bind-data-test-attributes-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { module, test } from 'qunit';
import Ember from 'ember';
import EmberObject, { computed } from '@ember/object';

import bindDataTestAttributes from 'ember-test-selectors/utils/bind-data-test-attributes';

const { Object: EmberObject, computed } = Ember;

module('Unit | Utility | bind data test attributes');

test('it adds missing attributeBindings array', function(assert) {
Expand Down

0 comments on commit 2e7edea

Please sign in to comment.