File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { NgtTestBed } from 'angular-three/testing' ;
2
+ import { NgtsGrid } from './grid' ;
3
+
4
+ describe ( NgtsGrid . name , ( ) => {
5
+ it ( 'should render properly' , async ( ) => {
6
+ const { scene, fixture } = NgtTestBed . create ( NgtsGrid ) ;
7
+ fixture . detectChanges ( ) ;
8
+
9
+ expect ( scene . children . length ) . toEqual ( 1 ) ;
10
+ expect ( scene . toJSON ( ) ) . toMatchSnapshot ( ) ;
11
+ } ) ;
12
+ } ) ;
Original file line number Diff line number Diff line change 23
23
],
24
24
"license" : " MIT" ,
25
25
"exports" : {
26
- "./assets/*" : " ./assets/*"
27
- },
26
+ "./assets/*" : " ./assets/*" ,
27
+ "./shaders" : {
28
+ "default" : " ./shaders/src/index.ts"
29
+ },
30
+ "./misc" : {
31
+ "default" : " ./misc/src/index.ts"
32
+ },
33
+ "./vanilla-exports" : {
34
+ "default" : " ./vanilla-exports/src/index.ts"
35
+ }
36
+ },
28
37
"peerDependencies" : {
29
38
"@angular/common" : " >=18.0.0" ,
30
39
"@angular/core" : " >=18.0.0" ,
You can’t perform that action at this time.
0 commit comments