diff --git a/src/tests/unit/export_tests.js b/src/tests/unit/export_tests.js index be46c8160..8d590b8c1 100644 --- a/src/tests/unit/export_tests.js +++ b/src/tests/unit/export_tests.js @@ -1,7 +1,9 @@ import { assert } from "@open-wc/testing" -import * as Turbo from "../../index" +import * as Turbo from "../../" +import { StreamActions } from "../../" test("test Turbo interface", () => { + assert.equal(typeof Turbo.StreamActions, "object") assert.equal(typeof Turbo.start, "function") assert.equal(typeof Turbo.registerAdapter, "function") assert.equal(typeof Turbo.visit, "function") @@ -16,3 +18,7 @@ test("test Turbo interface", () => { assert.equal(typeof Turbo.navigator, "object") assert.equal(typeof Turbo.session, "object") }) + +test("test StreamActions interface", () => { + assert.equal(typeof StreamActions, "object") +})