File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,18 +49,18 @@ import SerializerSelector, {
4949
5050const reader = StandaloneSerializer ( {
5151 readMode : true ,
52- restoreFunction : ( route : RouteDefinition ) => {
53- expect ( route ) . type . toBeAssignableTo < RouteDefinition > ( )
52+ restoreFunction : ( route ) => {
53+ expect ( route ) . type . toBe < RouteDefinition > ( )
5454 return { } as Serializer
5555 } ,
5656} )
5757expect ( reader ) . type . toBe < SerializerFactory > ( )
5858
5959const writer = StandaloneSerializer ( {
6060 readMode : false ,
61- storeFunction : ( route : RouteDefinition , code : string ) => {
62- expect ( route ) . type . toBeAssignableTo < RouteDefinition > ( )
63- expect ( code ) . type . toBeAssignableTo < string > ( )
61+ storeFunction : ( route , code ) => {
62+ expect ( route ) . type . toBe < RouteDefinition > ( )
63+ expect ( code ) . type . toBe < string > ( )
6464 } ,
6565} )
6666expect ( writer ) . type . toBe < SerializerFactory > ( )
You can’t perform that action at this time.
0 commit comments