File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
app/routes/project-version/modules Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class ModuleRoute extends ClassRoute.extend(ScrollTracker) {
1818
1919 // These modules should not have `ember-` tacked onto the front of them
2020 // when forming the ids and URLs.
21- let isNotEmber = klass . match ( / @ g l i m m e r | r s v p | j q u e r y / ) ;
21+ let isNotEmber = klass . match ( / @ w a r p - d r i v e | @ g l i m m e r | r s v p | j q u e r y / ) ;
2222
2323 if ( ! ~ klass . indexOf ( project ) && ! isNotEmber ) {
2424 klass = `${ project } -${ klass } ` ;
Original file line number Diff line number Diff line change 1+ import { module , test } from 'qunit' ;
2+ import { setupApplicationTest } from 'ember-qunit' ;
3+ import { visit } from '@ember/test-helpers' ;
4+
5+ module ( 'Acceptance | WarpDrive' , function ( hooks ) {
6+ setupApplicationTest ( hooks ) ;
7+
8+ test ( 'can visit a @warp-drive package' , async function ( assert ) {
9+ await visit (
10+ '/ember-data/release/modules/@warp-drive%2Fbuild-config%2Fdeprecations'
11+ ) ;
12+
13+ assert
14+ . dom ( '.module-name' )
15+ . includesText ( 'Package @warp-drive/build-config/deprecations' ) ;
16+ } ) ;
17+ } ) ;
You can’t perform that action at this time.
0 commit comments