Skip to content

Make utility for common integration test setup #1844

Open
@kchadha

Description

@kchadha

@mzgoddard noted that code snippets like the one below are used throughout several integration tests. Make a common utility to abstract this out for easy test setup.

const vm = new VirtualMachine();
    vm.attachStorage(makeTestStorage());

    // Start VM, load project, and run
    t.doesNotThrow(() => {
        vm.clear();
        vm.setCompatibilityMode(false);
        vm.setTurboMode(false);

        vm.loadProject(project).then(() => {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions