Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de0e0db

Browse files
committed
fix(core/testing): remove extend(THREE) from testing
1 parent bc7507d commit de0e0db

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libs/core/testing/src/lib/test-canvas.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import {
1010
viewChild,
1111
ViewContainerRef,
1212
} from '@angular/core';
13-
import { extend, injectStore, NGT_CANVAS_CONTENT_FLAG, NGT_RENDERER_NODE_FLAG, NgtAnyRecord } from 'angular-three';
14-
import * as THREE from 'three';
13+
import { injectStore, NGT_CANVAS_CONTENT_FLAG, NGT_RENDERER_NODE_FLAG, NgtAnyRecord } from 'angular-three';
1514

1615
@Component({
1716
selector: 'ngt-test-canvas',
@@ -31,8 +30,6 @@ export class NgtTestCanvas {
3130
sceneRef?: ComponentRef<unknown>;
3231

3332
constructor() {
34-
extend(THREE);
35-
3633
effect(() => {
3734
const anchor = this.anchorRef();
3835
const sceneGraph = this.sceneGraph();

0 commit comments

Comments
 (0)