Sha256: a048b8b51467b30acd8c51dccea3957aa3a9da1120875934c84d4774c7d73dd7
Contents?: true
Size: 696 Bytes
Versions: 1
Compression:
Stored size: 696 Bytes
Contents
import { isChrome, isFirefox } from '@ember/-internals/browser-environment'; import { checkHasSuper } from '..'; import { moduleFor, AbstractTestCase as TestCase } from 'internal-test-helpers'; // Only run this test on browsers that we are certain should have function // source available. This allows the test suite to continue to pass on other // platforms that correctly (for them) fall back to the "always wrap" code. if (isChrome || isFirefox) { moduleFor( 'checkHasSuper', class extends TestCase { ['@test does not super wrap needlessly [GH #12462]'](assert) { assert.notOk(checkHasSuper(function() {}), 'empty function does not have super'); } } ); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.6.0.0 | dist/es/@ember/-internals/utils/tests/checkHasSuper_test.js |