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

Adding the file extenions to the path in Makefile #454

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,37 +52,37 @@ test-bdd:
@./bin/mocha \
--reporter $(REPORTER) \
--ui bdd \
test/acceptance/interfaces/bdd
test/acceptance/interfaces/bdd.js

test-tdd:
@./bin/mocha \
--reporter $(REPORTER) \
--ui tdd \
test/acceptance/interfaces/tdd
test/acceptance/interfaces/tdd.js

test-qunit:
@./bin/mocha \
--reporter $(REPORTER) \
--ui qunit \
test/acceptance/interfaces/qunit
test/acceptance/interfaces/qunit.js

test-exports:
@./bin/mocha \
--reporter $(REPORTER) \
--ui exports \
test/acceptance/interfaces/exports
test/acceptance/interfaces/exports.js

test-grep:
@./bin/mocha \
--reporter $(REPORTER) \
--grep fast \
test/acceptance/misc/grep
test/acceptance/misc/grep.js

test-bail:
@./bin/mocha \
--reporter $(REPORTER) \
--bail \
test/acceptance/misc/bail
test/acceptance/misc/bail.js

non-tty:
@./bin/mocha \
Expand Down
5 changes: 2 additions & 3 deletions test/acceptance/interfaces/tdd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

suite('Array', function(){
suite('#indexOf()', function(){
var initialValue = 32;
Expand All @@ -14,9 +13,9 @@ suite('Array', function(){
[1,2,3].indexOf(5).should.equal(-1);
[1,2,3].indexOf(0).should.equal(-1);
})

test('should return the correct index when the value is present', function(){
initialValue.should.eql(42);
initialValue.should.eql(42);
[1,2,3].indexOf(1).should.equal(0);
[1,2,3].indexOf(2).should.equal(1);
[1,2,3].indexOf(3).should.equal(2);
Expand Down