mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
21 lines
491 B
JavaScript
21 lines
491 B
JavaScript
import assert from "assert";
|
|
|
|
describe("~name~", function () {
|
|
it("package.json has correct name", async function () {
|
|
const { name } = await import("../package.json");
|
|
assert.strictEqual(name, "~name~");
|
|
});
|
|
|
|
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);
|
|
});
|
|
}
|
|
});
|