This basically commits the transpiled CoffeeScript JS (with minor cleanup) and removes coffee build support. A tiny amount of support for xblocks exists, because external users may have xblocks with coffee. But no coffee in our tree anyway.
16 lines
422 B
JavaScript
16 lines
422 B
JavaScript
define(["js/models/course"], Course =>
|
|
describe("Course", () =>
|
|
describe("basic", function() {
|
|
beforeEach(function() {
|
|
this.model = new Course({
|
|
name: "Greek Hero"
|
|
});
|
|
});
|
|
|
|
it("should take a name argument", function() {
|
|
expect(this.model.get("name")).toEqual("Greek Hero");
|
|
});
|
|
})
|
|
)
|
|
);
|