Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No specs found after running SpecRunner #36

Open
afsoonsh opened this issue Apr 3, 2016 · 2 comments
Open

No specs found after running SpecRunner #36

afsoonsh opened this issue Apr 3, 2016 · 2 comments

Comments

@afsoonsh
Copy link

afsoonsh commented Apr 3, 2016

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:

2016-04-02

Can anybody please help with that ?
Thanks

@misterwolf
Copy link

misterwolf commented Sep 12, 2016

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

@garixx
Copy link

garixx commented Nov 5, 2017

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants