Skip to content

Instantly share code, notes, and snippets.

@pointbar
Created November 10, 2016 17:44
Show Gist options
  • Save pointbar/72ec6f0c3bcf3d2cfa9d65570b10ef1e to your computer and use it in GitHub Desktop.
Save pointbar/72ec6f0c3bcf3d2cfa9d65570b10ef1e to your computer and use it in GitHub Desktop.
// Import Tinytest from the tinytest Meteor package.
import { Tinytest } from "meteor/tinytest";
// Import and rename a variable exported by tests.js.
import { name as packageName } from "meteor/tests";
// Write your tests here!
// Here is an example.
Tinytest.add('tests - example', function (test) {
test.equal(packageName, "tests");
});
console.log("Test - exec")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment