Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mujica committed Jun 17, 2018
1 parent f520f9e commit ae565cc
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions lib/configured/configured_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ var rmdir = Q.denodeify(require("rimraf"));
var pathExists = Q.denodeify(fs.pathExists);

describe("lib/configured", function() {
this.timeout(5 * 1000 * 60);
var tmpPath = path.join(__dirname, "test", "tmp");

it(".getProject is able to get a github url", function() {
this.timeout(20000);

return rmdir(tmpPath)
.then(function() {
return configured.getProject({
Expand All @@ -32,8 +31,6 @@ describe("lib/configured", function() {
});

it(".getProject is able to get a folder", function() {
this.timeout(10000);

return configured
.getProject({
source: path.join(__dirname, "test", "example_project"),
Expand All @@ -45,9 +42,6 @@ describe("lib/configured", function() {
});

it(".getProject is able to get a github url and npm install specific dependencies", function() {
// really long timeout incase github is slow
this.timeout(240000);

return rmdir(tmpPath)
.then(function() {
return configured.getProject({
Expand All @@ -70,8 +64,6 @@ describe("lib/configured", function() {
});

it(".geneateProject is able to read the documentjs.json without versions and build a site", function() {
this.timeout(30000);

return rmdir(path.join(__dirname, "test", "api"))
.then(function() {
return configured.generateProject({
Expand All @@ -86,8 +78,6 @@ describe("lib/configured", function() {
});

it(".geneateProject is able to take a docObject instead of reading one", function() {
this.timeout(30000);

return rmdir(path.join(tmpPath, "example_project"))
.then(function() {
return configured.generateProject({
Expand All @@ -110,8 +100,6 @@ describe("lib/configured", function() {
});

it(".generateProject is able to document multiple versions", function() {
this.timeout(240000);

function switchFromOldToOld() {
return open(
__dirname,
Expand Down Expand Up @@ -194,8 +182,6 @@ describe("lib/configured", function() {
});

it(".generateProject is able to build when passed a version's branch name", function() {
this.timeout(60000);

return rmdir(path.join(tmpPath, "multiple_versions"))
.then(function() {
return configured.generateProject(
Expand All @@ -216,8 +202,6 @@ describe("lib/configured", function() {
});

it(".generateProject is able to build something without a documentjs.json", function() {
this.timeout(30000);

return rmdir(path.join(__dirname, "test", "docs"))
.then(function() {
return configured.generateProject({
Expand All @@ -237,8 +221,6 @@ describe("lib/configured", function() {
});

it("sites can be on projects", function() {
this.timeout(10000);

return rmdir(path.join(tmpPath, "project_sites"))
.then(function() {
return configured.generateProject({
Expand Down Expand Up @@ -270,8 +252,6 @@ describe("lib/configured", function() {
});

it("is able to change where versions is located", function() {
this.timeout(10000);

return rmdir(path.join(tmpPath, "version_placement"))
.then(function() {
return configured.generateProject({
Expand All @@ -297,8 +277,6 @@ describe("lib/configured", function() {
});

it("is able to import other tags", function() {
this.timeout(20000);

return rmdir(path.join(tmpPath, "custom_tags"))
.then(function() {
return configured.generateProject({
Expand All @@ -317,8 +295,6 @@ describe("lib/configured", function() {
});

it(".getProject is able to get a github url and npm install package.json's docDependencies", function() {
this.timeout(20000);

return rmdir(path.join(__dirname, "test", "tmp"))
.then(function() {
return configured.getProject({
Expand Down

0 comments on commit ae565cc

Please sign in to comment.