Skip to content

Commit b8c3985

Browse files
committed
tests: create a spectron_lib folder with common and config files.
spectron folder only consists tests now. Signed-off-by: tarun8718 <tarunkumar8718@gmail.com>
1 parent b466d5c commit b8c3985

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint-js": "xo",
3232
"prettier-non-js": "prettier --check --ignore-path=.prettierignore.non-js --loglevel=warn .",
3333
"test": "tsc --noEmit && npm run lint-html && npm run lint-css && npm run lint-js && npm run prettier-non-js",
34-
"test-e2e": "tsc && tape 'tests/Spectron/*.js'",
34+
"test-e2e": "tsc && tape 'tests/spectron/*.js'",
3535
"pack": "tsc && electron-builder --dir",
3636
"dist": "tsc && electron-builder",
3737
"mas": "tsc && electron-builder --mac mas"

tests/Spectron/index.js renamed to tests/spectron/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
const test = require("tape");
33

4-
const setup = require("./setup");
4+
const setup = require("../spectron_lib/common");
55

66
test("app runs", async (t) => {
77
t.timeoutAfter(10e3);

tests/Spectron/test-add-organization.js renamed to tests/spectron/test-add-organization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
const test = require("tape");
33

4-
const setup = require("./setup");
4+
const setup = require("../spectron_lib/common");
55

66
test("add-organization", async (t) => {
77
t.timeoutAfter(50e3);

tests/Spectron/test-back-button.js renamed to tests/spectron/test-back-button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
const test = require("tape");
33

4-
const setup = require("./setup");
4+
const setup = require("../spectron_lib/common");
55

66
test("back button", async (t) => {
77
t.timeoutAfter(50e3);

tests/Spectron/test-new-organization.js renamed to tests/spectron/test-new-organization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
const test = require("tape");
33

4-
const setup = require("./setup");
4+
const setup = require("../spectron_lib/common");
55

66
// Create new org link should open in the default browser [WIP]
77

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)