
The whole project is going to use ES2015, so it's important to enforce usage of the new syntax to the project code homogeneous. This commit enforces usage of arrow functions where possible, let/const instead of var and rest/spread operator instead of arguments and call/apply. Change-Id: I2fd33400d7d4a3ed23363ceaaf0c2d2f1bd55c47
9 lines
173 B
JavaScript
9 lines
173 B
JavaScript
import Test from "../../src/index.js";
|
|
|
|
describe("Simple test", () => {
|
|
it("should export a class", () => {
|
|
let t = new Test();
|
|
expect(t).toBeDefined();
|
|
});
|
|
});
|