Wasm: change TypeSection tests to unit tests rather than integration tests

This commit is contained in:
Brian Carroll 2022-01-08 15:17:52 +00:00
parent 8e7f398e50
commit d88b86e884
2 changed files with 44 additions and 20 deletions

View file

@ -135,8 +135,6 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32TestResult>(
T::insert_test_wrapper(arena, &mut wasm_module, TEST_WRAPPER_NAME, main_fn_index);
roc_gen_wasm::wasm_module::sections::test_assert_preload(arena, &wasm_module);
let needs_linking = !wasm_module.import.entries.is_empty();
let mut app_module_bytes = std::vec::Vec::with_capacity(4096);