123456789101112131415161718192021
  1. import assert from "assert";
  2. describe("simple-todos", function () {
  3. it("package.json has correct name", async function () {
  4. const { name } = await import("../package.json");
  5. assert.strictEqual(name, "simple-todos");
  6. });
  7. if (Meteor.isClient) {
  8. it("client is not server", function () {
  9. assert.strictEqual(Meteor.isServer, false);
  10. });
  11. }
  12. if (Meteor.isServer) {
  13. it("server is not client", function () {
  14. assert.strictEqual(Meteor.isClient, false);
  15. });
  16. }
  17. });