Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
chore(test): Fix copy/pasta & extend the test timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
randytarampi committed Mar 12, 2019
1 parent fba8c9e commit ca67827
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/integration/src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
const fs = require("fs");
const path = require("path");
const mkdirp = require("mkdirp");
const rimraf = require("rimraf");
const { expect } = require("chai");
const { iconsGenerator, splashScreensGenerator } = require("../../../../src");

describe("lib", function () {
this.timeout(60000);

const output = path.join(__dirname, "../../../tmp");

beforeEach(function (done) {
rimraf(output, done);
mkdirp(output, done);
});

afterEach(function (done) {
Expand Down Expand Up @@ -68,8 +71,8 @@ describe("lib", function () {
});
});

describe("iconsGenerator", function () {
it("generates icons for templates", function () {
describe("splashScreensGenerator", function () {
it("generates splash screens for templates", function () {
const templates = [
{ name: "woof.splash.png", width: 900, height: 1600 },
{ name: "meow.splash.png", width: 1600, height: 1000 },
Expand Down

0 comments on commit ca67827

Please sign in to comment.