Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f70ec96

Browse filesBrowse files
committed
Merge pull request #127 from ianstormtaylor/test-fix
fix type checking in tests
2 parents 697cf97 + e63230e commit f70ec96
Copy full SHA for f70ec96

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎test/builder.js

Copy file name to clipboardExpand all lines: test/builder.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('Builder', function(){
4242
var builder = new Builder('test/fixtures/hello');
4343
builder.addLookup('test/fixtures');
4444
builder.on('dependency', function(builder){
45-
builder.dir.should.be.a('string');
45+
builder.dir.should.have.type('string');
4646
builder.basename.should.equal('component-emitter');
4747
done();
4848
});
@@ -92,7 +92,7 @@ describe('Builder', function(){
9292
var builder = new Builder('test/fixtures/hello');
9393
builder.addLookup('test/fixtures');
9494
builder.on('dependency', function(builder){
95-
builder.dir.should.be.a('string');
95+
builder.dir.should.have.type('string');
9696
builder.basename.should.equal('component-emitter');
9797
done();
9898
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.