Skip to content

Instantly share code, notes, and snippets.

@mdb
Created June 13, 2013 18:37
Show Gist options
  • Save mdb/5776205 to your computer and use it in GitHub Desktop.
Save mdb/5776205 to your computer and use it in GitHub Desktop.
Example teabag/AMD spec file
// Define your spec file:
define('some/path/some_file_spec',
[
// The file you want to test:
'some/path/some_file'
], function(
SomeFile) {
describe("SomeFile", function () {
it("exists", function () {
expect(SomeFile).not.toBeNull();
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment