tests: clean up

This commit is contained in:
Austen Collins 2015-10-18 20:06:59 -07:00 committed by doapp-ryanp
parent 70c738948d
commit 13cbcd8f91
3 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
//TODO: must setup an env var file for unittest
require('./config'); //init config
describe('AllTests', function() {
describe('All Tests', function() {
before(function(done) {
this.timeout(0); //dont timeout anything

View File

@ -22,7 +22,7 @@ let Jaws = new JAWS({
interactive: false,
});
describe('Test Project Create', function() {
describe('Test Plugin: Project Create', function() {
before(function(done) {
process.chdir(os.tmpdir());
@ -33,8 +33,8 @@ describe('Test Project Create', function() {
done();
});
describe('Positive tests', function() {
it('Create new project', function(done) {
describe('Test Plugin: Project Create', function() {
it('should create a new project in temp directory', function(done) {
this.timeout(0);
@ -51,7 +51,7 @@ describe('Test Project Create', function() {
)
.then(function() {
let jawsJson = utils.readAndParseJsonSync(
path.join(os.tmpdir(), config.newName, 'jaws.json'));
path.join(os.tmpdir(), name, 'jaws.json'));
let region = false;

View File

@ -110,7 +110,7 @@ class PromisePlugin extends JawsPlugin {
* Run Tests
*/
describe('Test Plugins', function() {
describe('Test Plugin Architecture', function() {
before(function(done) {
Jaws.addPlugin(new PromisePlugin(Jaws, {}));
@ -121,7 +121,7 @@ describe('Test Plugins', function() {
done();
});
describe('Test Plugin', function() {
describe('Test Plugin Architecture', function() {
it('should run and attach values to context', function(done) {
this.timeout(0);