File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/api-client-core/spec Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,10 @@ describe("GadgetRecord", () => {
55
55
const product = new GadgetRecord < SampleBaseRecord > ( productBaseRecord ) ;
56
56
expect ( product . id ) . toEqual ( "123" ) ;
57
57
expect ( product . name ) . toEqual ( "A cool product" ) ;
58
- expect ( product . modelManager ) . toBeUndefined ( ) ;
59
58
} ) ;
60
59
61
60
it ( "can be constructed with a base record and a model manager" , ( ) => {
62
- const product = new GadgetRecord < SampleBaseRecord > ( productBaseRecord , mockModelManager ) ;
63
- expect ( product . modelManager ) . toEqual ( mockModelManager ) ;
61
+ new GadgetRecord < SampleBaseRecord > ( productBaseRecord , mockModelManager ) ;
64
62
} ) ;
65
63
66
64
it ( "should respond toJSON, which returns the inner __gadget.fields properties" , ( ) => {
You can’t perform that action at this time.
0 commit comments