Commit 0051483 1 parent 722aba5 commit 0051483 Copy full SHA for 0051483
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export default class Store {
200
200
private _getGenerator ( module : any , meta : BaseGeneratorMeta ) {
201
201
const Generator = module . default ?. default ?? module . default ?? module ;
202
202
if ( typeof Generator !== 'function' ) {
203
- throw new TypeError ( "The generator doesn't provides a constructor." ) ;
203
+ throw new TypeError ( "The generator doesn't provide a constructor." ) ;
204
204
}
205
205
206
206
Object . assign ( Generator , meta ) ;
Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ for (const generatorVersion of allVersions) {
463
463
return this . env . run ( 'no-constructor:app' ) . then (
464
464
( ) => assert . fail ( ) ,
465
465
error => {
466
- expect ( error . message ) . toMatch ( 'provides a constructor' ) ;
466
+ expect ( error . message ) . toMatch ( 'provide a constructor' ) ;
467
467
} ,
468
468
) ;
469
469
} ) ;
You can’t perform that action at this time.
0 commit comments