Make adding images declarative and simple
This commit is contained in:
@ -47,4 +47,12 @@ describe("FooterWrapper", () => {
|
||||
expect(spy.called).to.equal(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe("#Media", () => {
|
||||
it("should get Media", () => {
|
||||
const media = new Media();
|
||||
const file = new FooterWrapper(media, 1);
|
||||
expect(file.Media).to.equal(media);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user