Skip to content

Commit 41e733f

Browse files
authored
Dev: Use default qunit reporter. (#31877)
1 parent c2ce3dd commit 41e733f

File tree

3 files changed

+7
-103
lines changed

3 files changed

+7
-103
lines changed

package-lock.json

Lines changed: 0 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"lint-utils": "eslint utils --ignore-pattern prettify --ignore-pattern fuse",
6464
"lint": "npm run lint-core",
6565
"lint-fix": "npm run lint-core -- --fix && npm run lint-addons -- --fix && npm run lint-examples -- --fix && npm run lint-docs -- --fix && npm run lint-editor -- --fix && npm run lint-playground -- --fix && npm run lint-manual -- --fix && npm run lint-test -- --fix && npm run lint-utils -- --fix",
66-
"test-unit": "qunit -r failonlyreporter -f !-webonly test/unit/three.source.unit.js",
67-
"test-unit-addons": "qunit -r failonlyreporter -f !-webonly test/unit/three.addons.unit.js",
66+
"test-unit": "qunit test/unit/three.source.unit.js",
67+
"test-unit-addons": "qunit test/unit/three.addons.unit.js",
6868
"test-e2e": "node test/e2e/puppeteer.js",
6969
"test-e2e-cov": "node test/e2e/check-coverage.js",
7070
"test-e2e-webgpu": "node test/e2e/puppeteer.js --webgpu",
@@ -104,7 +104,6 @@
104104
"eslint-plugin-compat": "^6.0.0",
105105
"eslint-plugin-html": "^8.0.0",
106106
"eslint-plugin-import": "^2.27.5",
107-
"failonlyreporter": "^1.0.0",
108107
"jimp": "^1.6.0",
109108
"jsdoc": "^4.0.4",
110109
"magic-string": "^0.30.0",

test/unit/src/renderers/WebGLRenderer.tests.js

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
/* global QUnit */
22

3-
import { WebGLRenderer } from '../../../../src/renderers/WebGLRenderer.js';
4-
53
export default QUnit.module( 'Renderers', () => {
64

7-
QUnit.module( 'WebGLRenderer-webonly', () => {
5+
QUnit.module( 'WebGLRenderer', () => {
86

97
// INSTANCING
10-
QUnit.test( 'Instancing', ( assert ) => {
8+
QUnit.todo( 'Instancing', ( assert ) => {
119

12-
const renderer = new WebGLRenderer();
13-
assert.ok( renderer, 'Can instantiate a WebGLRenderer.' );
10+
assert.ok( false, 'everything\'s gonna be alright' );
1411

1512
} );
1613

@@ -256,12 +253,9 @@ export default QUnit.module( 'Renderers', () => {
256253

257254
} );
258255

259-
QUnit.test( 'dispose', ( assert ) => {
256+
QUnit.todo( 'dispose', ( assert ) => {
260257

261-
assert.expect( 0 );
262-
263-
const object = new WebGLRenderer();
264-
object.dispose();
258+
assert.ok( false, 'everything\'s gonna be alright' );
265259

266260
} );
267261

0 commit comments

Comments
 (0)