Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add a test, and fix tests #184

Merged
merged 4 commits into from
Aug 27, 2019
Merged

test: add a test, and fix tests #184

merged 4 commits into from
Aug 27, 2019

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Aug 13, 2019

Description

Seems like tests are currently broken due to a dependency issue, this fixes them.

Closes #174
Closes #171
Closes #170
Closes #169
Closes #154
Closes #149
Closes #148
Closes #145
Closes #144
Closes #141
Closes #140

}

return Component.prototype.cancelAnimationFrame.call(this, id);
return this.player_.cancelAnimationFrame(id);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also noticed that we should just call player functions here, as we were getting some un-important errors, but errors none the less.

@@ -39,7 +39,8 @@ module.exports = replace({
code = globalReplace(code, 'rotateLeft', 'scope.rotateLeft');
code = globalReplace(code, 'rotateUp', 'scope.rotateUp');
// comment out the context menu prevent default line...
code = globalReplace(code,
code = globalReplace(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter error, strange that it didn't come up until now.

this.clock.tick(1);
});

QUnit.test('playback', function(assert) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to the vhs playback tests.

@@ -1,4 +1,4 @@
import * as THREE from 'three';
import {Vector3} from 'three';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specific imports

@brandonocasey brandonocasey force-pushed the test/add-a-test branch 2 times, most recently from ee72bf2 to 9fdb5ff Compare August 27, 2019 15:40
package.json Outdated
"three": "0.93.0",
"video.js": "^6 || ^7",
"video.js": "^7",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to remove ^6?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehh probably not, I will add it back in.

@brandonocasey brandonocasey merged commit 17c7ee0 into master Aug 27, 2019
@brandonocasey brandonocasey deleted the test/add-a-test branch August 27, 2019 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants