blob: b008eb5cfe5d50ce58857e5339b86a6b9c5297be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import "reflect-metadata";
import PropertyCompletionUseCase from "../../../src/background/completion/PropertyCompletionUseCase";
describe("PropertyCompletionUseCase", () => {
describe("getProperties", () => {
it("returns property types", async () => {
const sut = new PropertyCompletionUseCase();
const properties = await sut.getProperties();
expect(properties).toContainEqual({
name: "smoothscroll",
type: "boolean",
});
expect(properties).toContainEqual({ name: "complete", type: "string" });
});
});
});
|