File tree Expand file tree Collapse file tree 5 files changed +2345
-251
lines changed Expand file tree Collapse file tree 5 files changed +2345
-251
lines changed Original file line number Diff line number Diff line change 7979 "ember-resolver" : " ^8.0.2" ,
8080 "ember-source" : " ~3.28.0" ,
8181 "ember-source-channel-url" : " ^3.0.0" ,
82+ "ember-styleguide" : " ^5.0.0" ,
8283 "ember-template-lint" : " ^3.6.0" ,
8384 "ember-try" : " ^1.4.0" ,
8485 "eslint" : " ^7.32.0" ,
109110 "main" : " lib/ember-addon-main.js" ,
110111 "configPath" : " tests/dummy/config"
111112 },
113+ "resolutions" : {
114+ "ember-cli-htmlbars" : " link:."
115+ },
112116 "release-it" : {
113117 "plugins" : {
114118 "release-it-lerna-changelog" : {
Original file line number Diff line number Diff line change 1+ import { module , test } from 'qunit' ;
2+ import { visit , currentURL } from '@ember/test-helpers' ;
3+ import { setupApplicationTest } from 'ember-qunit' ;
4+
5+ module ( 'Acceptance | styleguide' , function ( hooks ) {
6+ setupApplicationTest ( hooks ) ;
7+
8+ test ( 'visiting /styleguide' , async function ( assert ) {
9+ await visit ( '/styleguide' ) ;
10+
11+ assert . equal ( currentURL ( ) , '/styleguide' ) ;
12+
13+ assert . dom ( '[data-test-es-note-heading]' ) . containsText ( 'says...' ) ;
14+ } ) ;
15+ } ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ const Router = EmberRouter.extend({
66 rootURL : config . rootURL ,
77} ) ;
88
9- Router . map ( function ( ) { } ) ;
9+ Router . map ( function ( ) {
10+ this . route ( 'styleguide' ) ;
11+ } ) ;
1012
1113export default Router ;
Original file line number Diff line number Diff line change 1+ <EsNote >You should try out this cool note component</EsNote >
You can’t perform that action at this time.
0 commit comments