Have Jasmine HTML use the source files in specs
Similar to the changes in Jasmine core and console, this gets the HTML specs of Jasmine using j$ instead of jasmine so that they use the source files instead of the built distribution
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
describe("jasmine.pp (HTML Dependent)", function () {
|
||||
describe("j$.pp (HTML Dependent)", function () {
|
||||
it("should stringify HTML nodes properly", function() {
|
||||
var sampleNode = document.createElement('div');
|
||||
sampleNode.innerHTML = 'foo<b>bar</b>';
|
||||
expect(jasmine.pp(sampleNode)).toEqual("HTMLNode");
|
||||
expect(jasmine.pp({foo: sampleNode})).toEqual("{ foo : HTMLNode }");
|
||||
expect(j$.pp(sampleNode)).toEqual("HTMLNode");
|
||||
expect(j$.pp({foo: sampleNode})).toEqual("{ foo : HTMLNode }");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user