Skip to content

Commit cc35e4e

Browse files
committed
wip test
1 parent f0ee504 commit cc35e4e

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
});

libs/soba/package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,17 @@
2323
],
2424
"license": "MIT",
2525
"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+
},
2837
"peerDependencies": {
2938
"@angular/common": ">=18.0.0",
3039
"@angular/core": ">=18.0.0",

0 commit comments

Comments
 (0)