Fix test compilation and allow the ci to run (#1456)

* Fix test compilation

* Don't fail if .wasm-pack dir does not exist
This commit is contained in:
Dennis Kobert
2023-11-14 23:01:40 +01:00
committed by GitHub
parent 81519601ae
commit 9784d31edb
5 changed files with 40 additions and 33 deletions
+1
View File
@@ -260,6 +260,7 @@ mod test {
use crate::messages::prelude::*;
use crate::test_utils::EditorTestUtils;
use document_legacy::document_metadata::LayerNodeIdentifier;
use document_legacy::LayerId;
use document_legacy::Operation;
use graphene_core::raster::color::Color;
@@ -2519,7 +2519,7 @@ pub fn wrap_network_in_scope(mut network: NodeNetwork, hash: u64) -> NodeNetwork
.to_document_node(vec![input_type.unwrap()], DocumentNodeMetadata::default());
if let DocumentNodeImplementation::Network(g) = &mut begin_scope.implementation {
if let Some(node) = g.nodes.get_mut(&0) {
node.hash = hash;
node.world_state_hash = hash;
}
}