#!/usr/bin/env bats

@test "Opening a .elm file loads oni-elmc" {
    run emacs -batch -l package -f package-initialize \
        -visit test.elm \
        -eval "(prin1 (featurep 'oni-elm))"

    echo "$output"

    [[ "$output" == *"t" ]]
}