This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QUnit from 'qunit'; | |
QUnit.assert.contains = function( haystack, needle, message ) { | |
var result = haystack.indexOf(needle) > -1; | |
this.pushResult( { | |
result: result, | |
actual: haystack, | |
expected: needle, | |
message: message || `'${haystack}' contains string '${needle}'` | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "Expecta.h" | |
EXPMatcherInterface(equalInAnyOrder, (id expected)); | |
// 1st argument is the name of the matcher function | |
// 2nd argument is the list of arguments that may be passed in the function | |
// call. | |
// Multiple arguments are fine. (e.g. (int foo, float bar)) | |
NewerOlder