"Cannot read property wait of undefined"

hoping this fixed it. tests pending.