it('hangs forever and it takes you days to figure out why...', () => {
// my spec is empty right now, without an 'expect' statement
}
=> Starting...
... hangs forever until my computer is out of memory, freezes.
Adding in, expect(true).toBe(true) to the spec makes everything run just fine.
It took me forever to realize that this was the behavior I was observing. I suspected So. Many. Things. in my code before I finally realized that common denominator of when jasmine-rails hangs.
=> Starting... ... hangs forever until my computer is out of memory, freezes. Adding in,
expect(true).toBe(true)
to the spec makes everything run just fine.It took me forever to realize that this was the behavior I was observing. I suspected So. Many. Things. in my code before I finally realized that common denominator of when jasmine-rails hangs.