You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi
i just started to write my very first script using jasmine , this is my AddressBookSpec.js file:
describe('Address Book', Function(){
it ('should be able to add a contact', function(){
var addressBook = new addressBook();
thisContact = new contact();
addressBook.addContact(thisContact);
expect(addressBook.getContact(0)).toBe(thisContact);
});
});
im trying to learn jasmine sing udemy courses and want to see the error the instructor got in specrunner in my browser , but after running specrunner on browser i have nothing there but just this:
Can anybody please help with that ?
Thanks
The text was updated successfully, but these errors were encountered:
hello Afsoonsh,
I solved the proble by adding this: //= require YOUR-FOLDER/AddresBook.js
or var addressBook = require(YOUR-FOLDER/AddresBook.js);
at beginning of the file.
Lmk
Hi there
May be its too late .. but I had the same problem using Gedit for edit AddressBookSpec.js.
The solution is set up in Gedit Preferences checkbox 'Insert spaces instead of tabs'
hi
i just started to write my very first script using jasmine , this is my AddressBookSpec.js file:
describe('Address Book', Function(){
it ('should be able to add a contact', function(){
var addressBook = new addressBook();
thisContact = new contact();
addressBook.addContact(thisContact);
expect(addressBook.getContact(0)).toBe(thisContact);
});
});
im trying to learn jasmine sing udemy courses and want to see the error the instructor got in specrunner in my browser , but after running specrunner on browser i have nothing there but just this:
Can anybody please help with that ?
Thanks
The text was updated successfully, but these errors were encountered: