Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

[#77] Adding in a failing test suite which should work in Travis #80

Merged
merged 1 commit into from Jan 2, 2017

Conversation

MikeRogers0
Copy link
Owner

Closes #77

@MikeRogers0 MikeRogers0 merged commit aab9319 into master Jan 2, 2017
@@ -0,0 +1,12 @@
QUnit.module("LivePage injected file", {
Copy link
Collaborator

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" );
Copy link
Collaborator

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/" );
Copy link
Collaborator

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/" );
Copy link
Collaborator

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 ) {
Copy link
Collaborator

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.

@MikeRogers0 MikeRogers0 deleted the feature/77-add-test-suite branch January 2, 2017 07:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants