-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: move remote join check into separate test file
- Loading branch information
1 parent
9afb8f5
commit e2d9297
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { describe, it, expect } from "vitest"; | ||
import { getCh5ReservedJoins } from "@norgate-av/ch5-join-getter"; | ||
import CrestronCH5 from "../src/index.js"; | ||
|
||
describe("Check CH5 Joins", () => { | ||
it("should match the latest available reserved joins", async () => { | ||
const data = await getCh5ReservedJoins(); | ||
|
||
expect(data).toBeDefined(); | ||
expect(data).toEqual(CrestronCH5.ReservedJoin); | ||
}); | ||
|
||
it("should always pass", () => { | ||
expect(true).toBe(true); | ||
}); | ||
}); |