Sha256: 4b1ed81b6c0dd7a1051aac22c68e7233b63525556f74387be44db68dc85643c4
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 Bytes
Contents
import EmberArray from '../../../lib/mixins/array'; import { A } from '../../../lib/mixins/array'; import { moduleFor, AbstractTestCase } from 'internal-test-helpers'; moduleFor( 'Ember.A', class extends AbstractTestCase { ['@test Ember.A'](assert) { assert.deepEqual(A([1, 2]), [1, 2], 'array values were not be modified'); assert.deepEqual(A(), [], 'returned an array with no arguments'); assert.deepEqual(A(null), [], 'returned an array with a null argument'); assert.ok(EmberArray.detect(A()), 'returned an ember array'); assert.ok(EmberArray.detect(A([1, 2])), 'returned an ember array'); } } );
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.5.1.1 | dist/es/ember-runtime/tests/system/native_array/a_test.js |
discourse-ember-source-3.5.1.0 | dist/dist/es/ember-runtime/tests/system/native_array/a_test.js |