Skip to content

Instantly share code, notes, and snippets.

@warner
Last active December 11, 2015 16:48
Show Gist options
  • Save warner/4630034 to your computer and use it in GitHub Desktop.
Save warner/4630034 to your computer and use it in GitHub Desktop.
test for gombot-crypto-jetpack
exports.kdf = require("gombot-crypto-jetpack").kdf;
{
"name": "gombot-crypto-test",
"license": "MPL 2.0",
"author": "",
"version": "0.1",
"fullName": "foo",
"id": "jid1-R8IrfVhzfeIqaA",
"dependencies": ["gombot-crypto-jetpack"],
"description": "a basic add-on"
}
var main = require("main");
exports.test_kdf = function(test) {
main.kdf("email", "password").then(function(keys) {
console.log("keys!", JSON.stringify(keys));
test.pass("keys");
test.done();
});
test.waitUntilDone();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment