You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
487 B
21 lines
487 B
преди 4 години
|
import assert from "assert";
|
||
|
|
||
|
describe("skel", function () {
|
||
|
it("package.json has correct name", async function () {
|
||
|
const { name } = await import("../package.json");
|
||
|
assert.strictEqual(name, "skel");
|
||
|
});
|
||
|
|
||
|
if (Meteor.isClient) {
|
||
|
it("client is not server", function () {
|
||
|
assert.strictEqual(Meteor.isServer, false);
|
||
|
});
|
||
|
}
|
||
|
|
||
|
if (Meteor.isServer) {
|
||
|
it("server is not client", function () {
|
||
|
assert.strictEqual(Meteor.isClient, false);
|
||
|
});
|
||
|
}
|
||
|
});
|