In my newbie understanding, Jasmine provide this syntax below:
describe('FooBar', function(){
it('should blah-blah', function(){
expect('actual').toEqual('expect');
});
});
expect(‘actual’).toEqual(‘expect’);
This order and words causes my confusion. Is my understanding correct?
Yes, you are correct. To rephrase: