File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ context("Slot", () => {
7474
7575 context ( "collection" , ( ) => {
7676 it ( "items" , ( ) => {
77+ const slots = mod . getSlots ( ) ;
7778 const slot = slots . items ( config . controlValues . slot . slotIndex ) ;
7879 const mechanisms = slot . getMechanisms ( ) ;
7980 assert . strictEqual ( ! ! mechanisms . length , true ) ;
@@ -83,6 +84,7 @@ context("Slot", () => {
8384 assert . strictEqual ( ! ! mech . name , true ) ;
8485 } ) ;
8586 it ( "tryGetItem" , ( ) => {
87+ const slots = mod . getSlots ( ) ;
8688 const slot = slots . items ( config . controlValues . slot . slotIndex ) ;
8789 const mechanisms = slot . getMechanisms ( ) ;
8890
@@ -91,6 +93,7 @@ context("Slot", () => {
9193 assert . strictEqual ( mech , null ) ;
9294 } ) ;
9395 it ( "for..of mechanisms" , ( ) => {
96+ const slots = mod . getSlots ( ) ;
9497 const slot = slots . items ( config . controlValues . slot . slotIndex ) ;
9598 const mechanisms = slot . getMechanisms ( ) ;
9699 for ( const mech of mechanisms ) {
You can’t perform that action at this time.
0 commit comments