Tests: Fixed fails with "npm run test"
@@ -547,6 +547,13 @@ export default QUnit.module( 'Core', () => {
QUnit.test( "fromGeometry/fromDirectGeometry", ( assert ) => {
+ if ( typeof XMLHttpRequest === 'undefined' ) {
+
+ assert.expect( 0 );
+ return;
+ }
assert.timeout( 1000 );
var a = new BufferGeometry();
@@ -66,6 +66,13 @@ export default QUnit.module( 'Core', () => {
// OTHERS
QUnit.test( "clock with performance", ( assert ) => {
+ if ( typeof performance === 'undefined' ) {
mockPerformance();
var clock = new Clock( false );
@@ -48,6 +48,13 @@ export default QUnit.module( 'Core', () => {
QUnit.test( "fromGeometry", ( assert ) => {
var a = new DirectGeometry();