Sha256: 103549b0fde6f17d0d391aafe4e49cee281e54996cd796930871fc3becdb66ad
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
import ApplicationTestCase from './application'; export default class RouterTestCase extends ApplicationTestCase { constructor() { super(...arguments); this.router.map(function() { this.route('parent', { path: '/' }, function() { this.route('child'); this.route('sister'); this.route('brother'); }); this.route('dynamic', { path: '/dynamic/:dynamic_id' }); }); } get routerService() { return this.applicationInstance.lookup('service:router'); } buildQueryParams(queryParams) { return { queryParams, }; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discourse-ember-source-3.5.1.1 | dist/es/internal-test-helpers/lib/test-cases/router.js |
discourse-ember-source-3.5.1.0 | dist/dist/es/internal-test-helpers/lib/test-cases/router.js |