We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Base.plugin(fooPlugin).plugin(barPlugin)
1 parent 7838611 commit 8b35c6aCopy full SHA for 8b35c6a
test.ts
@@ -27,6 +27,12 @@ describe("Base", () => {
27
expect(fooBarTest.foo()).toEqual("foo");
28
expect(fooBarTest.bar()).toEqual("bar");
29
});
30
+ it(".plugin(fooPlugin).plugin(barPlugin)", () => {
31
+ const FooBarTest = Base.plugin(fooPlugin).plugin(barPlugin);
32
+ const fooBarTest = new FooBarTest();
33
+ expect(fooBarTest.foo()).toEqual("foo");
34
+ expect(fooBarTest.bar()).toEqual("bar");
35
+ });
36
it(".defaults({foo: 'bar'})", () => {
37
const BaseWithDefaults = Base.defaults({ foo: "bar" });
38
const defaultsTest = new BaseWithDefaults();
0 commit comments