auto-git:
[change] src/viewport-three/viewport-host.ts [change] tests/domain/build-runtime-scene.test.ts [change] tests/domain/custom-material.command.test.ts [change] tests/domain/delete-project-asset.test.ts [change] tests/domain/scene-document-validation.test.ts [change] tests/serialization/project-document-json.test.ts [change] tests/serialization/project-package.test.ts [change] tests/serialization/scene-document-json.test.ts [change] tests/unit/whitebox-material-inspector.integration.test.tsx
This commit is contained in:
@@ -316,9 +316,7 @@ describe("project package serialization", () => {
|
||||
kind: "image",
|
||||
sourceName: "custom-material-map.png",
|
||||
mimeType: "image/png",
|
||||
storageKey: createProjectAssetStorageKey(
|
||||
"asset-image-material-package"
|
||||
),
|
||||
storageKey: createProjectAssetStorageKey("asset-image-material-package"),
|
||||
byteLength: 4,
|
||||
metadata: {
|
||||
kind: "image",
|
||||
@@ -373,7 +371,9 @@ describe("project package serialization", () => {
|
||||
"assets/asset-image-material-package/custom-material-map.png"
|
||||
])
|
||||
);
|
||||
await expect(restoredStorage.getAsset(imageAsset.storageKey)).resolves.toEqual({
|
||||
await expect(
|
||||
restoredStorage.getAsset(imageAsset.storageKey)
|
||||
).resolves.toEqual({
|
||||
files: {
|
||||
[imageAsset.sourceName]: {
|
||||
bytes: expect.any(ArrayBuffer),
|
||||
|
||||
Reference in New Issue
Block a user