Skip to content

Instantly share code, notes, and snippets.

@SimenB
Created August 8, 2017 11:50
Show Gist options
  • Save SimenB/b179f81961e34676ac0d3fc881494b12 to your computer and use it in GitHub Desktop.
Save SimenB/b179f81961e34676ac0d3fc881494b12 to your computer and use it in GitHub Desktop.
{
"name": "sup",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "ava"
},
"devDependencies": {
"ava": "^0.21.0"
}
}
'use strict';
const test = require('ava');
test('should succeed', async () => {
await new Promise((_, reject) => {
setTimeout(reject, 100);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment