Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Open
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
2 changes: 1 addition & 1 deletion app/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ exports.asyncAnswers = {
},

manipulateRemoteData : function(url) {

// note that's important to output resulting names in alphabet order
}
};
2 changes: 1 addition & 1 deletion tests/app/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('async behavior', function() {

asyncAnswers.manipulateRemoteData(url).then(function(result) {
expect(result).to.have.length(5);
expect(result.join(' ')).to.eql('Adam Alex Matt Paul Rebecca');
expect(result.join(' ')).to.eql('Matt Rebecca Paul Alex Adam');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that you've added the note in the code, this reordering isn't necessary.

done();
});
});
Expand Down