Skip to content

Commit 4a6fac8

Browse files
Chiu PeterChiu Peter
authored andcommitted
update transformIgnorePatterns in jest.config.js; remove objectToAnimate in Scene; add comment in SearchUI/ondex.tsc
1 parent 1eb3297 commit 4a6fac8

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
* This is necessary for node modules that distribute their source code as uncompiled JS.
1111
*/
1212
transformIgnorePatterns: [
13-
'node_modules/(?!(three|unist-.*|hast-.*|rehype-slug|remark-rehype|react-markdown|vfile.*|unified|bail|is-plain-obj|trough|remark-parse|mdast-.*|micromark.*|decode-named-character-reference|unist-.*|character-entities|property-information|space-separated-tokens|comma-separated-tokens)/)'
13+
'node_modules/(?!(three|trim-lines|github-slugger|unist-.*|hast-.*|rehype-slug|remark-rehype|react-markdown|vfile.*|unified|bail|is-plain-obj|trough|remark-parse|mdast-.*|micromark.*|decode-named-character-reference|unist-.*|character-entities|property-information|space-separated-tokens|comma-separated-tokens)/)'
1414
],
1515
modulePaths: ['<rootDir>'],
1616
moduleDirectories: ['node_modules', '<rootDir>'],

src/components/crystal-toolkit/scene/Scene.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,6 @@ export default class Scene {
459459
this.threeUUIDTojsonObject[object.uuid] = childObject;
460460
this.computeIdToThree[`${currentId}--${idx}`] = object;
461461
childObject.id = `${currentId}--${idx}`;
462-
if (childObject.animate) {
463-
objectToAnimate.add(`${currentId}--${idx}`);
464-
}
465462
} else {
466463
const threeObject = new THREE.Object3D();
467464
threeObject.name = childObject.name!;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// src/components/data-display/SearchUI/index.tsx

0 commit comments

Comments
 (0)