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