Sha256: e7e98db767a078b0cbf5bd2461a57277a60bab87750318692bf13bed2c64effa
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
import { isProxy, setProxy } from '..'; import { moduleFor, AbstractTestCase } from 'internal-test-helpers'; moduleFor( 'ember-utils isProxy', class extends AbstractTestCase { ['@test basic'](assert) { let proxy = {}; setProxy(proxy); assert.equal(isProxy(proxy), true); assert.equal(isProxy({}), false); assert.equal(isProxy(undefined), false); assert.equal(isProxy(null), false); } } );
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.5.1.1 | dist/es/ember-utils/tests/is_proxy_test.js |
discourse-ember-source-3.5.1.0 | dist/dist/es/ember-utils/tests/is_proxy_test.js |