Sha256: 0971a3294dc03923fb000c85cb8fc95b2754167cb7e8547914827d7b2d732749
Contents?: true
Size: 1.27 KB
Versions: 40
Compression:
Stored size: 1.27 KB
Contents
getJasmineRequireObj().interface = function(jasmine, env) { var jasmineInterface = { describe: function(description, specDefinitions) { return env.describe(description, specDefinitions); }, xdescribe: function(description, specDefinitions) { return env.xdescribe(description, specDefinitions); }, it: function(desc, func) { return env.it(desc, func); }, xit: function(desc, func) { return env.xit(desc, func); }, beforeEach: function(beforeEachFunction) { return env.beforeEach(beforeEachFunction); }, afterEach: function(afterEachFunction) { return env.afterEach(afterEachFunction); }, expect: function(actual) { return env.expect(actual); }, pending: function() { return env.pending(); }, spyOn: function(obj, methodName) { return env.spyOn(obj, methodName); }, jsApiReporter: new jasmine.JsApiReporter({ timer: new jasmine.Timer() }), jasmine: jasmine }; jasmine.addCustomEqualityTester = function(tester) { env.addCustomEqualityTester(tester); }; jasmine.addMatchers = function(matchers) { return env.addMatchers(matchers); }; jasmine.clock = function() { return env.clock; }; return jasmineInterface; };
Version data entries
40 entries across 40 versions & 2 rubygems