Sha256: c80d22552c54cb32318194163c1a3c3097aa6e5586cbc1801bef3cf96a91a1e5

Contents?: true

Size: 508 Bytes

Versions: 3

Compression:

Stored size: 508 Bytes

Contents

import Enumerable from '../../lib/mixins/enumerable';
import ArrayProxy from '../../lib/system/array_proxy';
import { A } from '../../lib/mixins/array';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';

moduleFor(
  'Enumerable',
  class extends AbstractTestCase {
    ['@test should be mixed into A()'](assert) {
      assert.ok(Enumerable.detect(A()));
    }

    ['@test should be mixed into ArrayProxy'](assert) {
      assert.ok(Enumerable.detect(ArrayProxy.create()));
    }
  }
);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/runtime/tests/mixins/enumerable_test.js
discourse-ember-source-3.5.1.1 dist/es/ember-runtime/tests/mixins/enumerable_test.js
discourse-ember-source-3.5.1.0 dist/dist/es/ember-runtime/tests/mixins/enumerable_test.js