File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ describe('Path.extractParams', function () {
60
60
} ) ;
61
61
62
62
describe ( 'and the pattern is optional' , function ( ) {
63
- var pattern = 'comments/:id?/edit'
63
+ var pattern = 'comments/:id?/edit' ;
64
64
65
65
describe ( 'and the path matches with supplied param' , function ( ) {
66
66
it ( 'returns an object with the params' , function ( ) {
@@ -76,7 +76,7 @@ describe('Path.extractParams', function () {
76
76
} ) ;
77
77
78
78
describe ( 'and the pattern and forward slash are optional' , function ( ) {
79
- var pattern = 'comments/:id?/?edit'
79
+ var pattern = 'comments/:id?/?edit' ;
80
80
81
81
describe ( 'and the path matches with supplied param' , function ( ) {
82
82
it ( 'returns an object with the params' , function ( ) {
@@ -205,7 +205,7 @@ describe('Path.injectParams', function () {
205
205
describe ( 'and a param is missing' , function ( ) {
206
206
it ( 'throws an Error' , function ( ) {
207
207
expect ( function ( ) {
208
- Path . injectParams ( pattern , { } )
208
+ Path . injectParams ( pattern , { } ) ;
209
209
} ) . toThrow ( Error ) ;
210
210
} ) ;
211
211
} ) ;
You can’t perform that action at this time.
0 commit comments