Sha256: 863d8f5176dcbeed95ef07a99706b3b35e7ef19f1e18fd206791c2ef2b263a66

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

import { Mixin } from '..';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';

moduleFor(
  'NamespaceSearch',
  class extends AbstractTestCase {
    ['@test classToString: null as this inside class must not throw error'](assert) {
      let mixin = Mixin.create();
      assert.equal(
        mixin.toString(),
        '(unknown)',
        'this = null should be handled on Mixin.toString() call'
      );
    }
  }
);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/metal/tests/namespace_search_test.js
discourse-ember-source-3.5.1.1 dist/es/ember-metal/tests/namespace_search_test.js
discourse-ember-source-3.5.1.0 dist/dist/es/ember-metal/tests/namespace_search_test.js