[#77] Adding in a failing test suite which should work in Travis #80
Conversation
@@ -0,0 +1,12 @@ | |||
QUnit.module("LivePage injected file", { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'QUnit' is not defined.
QUnit.test( "normalizeURL - Return everything before the # in a url when ignore_anchors is enabled", function( assert ) { | ||
assert.equal( new livePage({}).normalizeURL("http://www.site.com/"), "http://www.site.com/" ); | ||
assert.equal( new livePage({ignore_anchors: true}).normalizeURL("http://www.site.com/#hello"), "http://www.site.com/" ); | ||
assert.equal( new livePage({ignore_anchors: false}).normalizeURL("http://www.site.com/#hello"), "http://www.site.com/#hello" ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
A constructor name should start with an uppercase letter.
Identifier 'ignore_anchors' is not in camel case.
'livePage' is not defined.
// normalizeURL | ||
QUnit.test( "normalizeURL - Return everything before the # in a url when ignore_anchors is enabled", function( assert ) { | ||
assert.equal( new livePage({}).normalizeURL("http://www.site.com/"), "http://www.site.com/" ); | ||
assert.equal( new livePage({ignore_anchors: true}).normalizeURL("http://www.site.com/#hello"), "http://www.site.com/" ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
A constructor name should start with an uppercase letter.
Identifier 'ignore_anchors' is not in camel case.
'livePage' is not defined.
|
||
// normalizeURL | ||
QUnit.test( "normalizeURL - Return everything before the # in a url when ignore_anchors is enabled", function( assert ) { | ||
assert.equal( new livePage({}).normalizeURL("http://www.site.com/"), "http://www.site.com/" ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
A constructor name should start with an uppercase letter.
'livePage' is not defined.
}); | ||
|
||
// normalizeURL | ||
QUnit.test( "normalizeURL - Return everything before the # in a url when ignore_anchors is enabled", function( assert ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
'QUnit' is not defined.
Closes #77