Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 8ad4329

Browse files
committed
Cleanup after mochitests removal
1 parent 0ff0988 commit 8ad4329

File tree

9 files changed

+1
-266
lines changed

9 files changed

+1
-266
lines changed

packages/devtools-reps/bin/copy-assets.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,6 @@ function start() {
3232

3333
console.log(" output path is:", mcPath);
3434

35-
if (shouldSymlink) {
36-
console.log(" copying tests...");
37-
symlinkTests({ projectPath, mcModulePath });
38-
} else {
39-
console.log(" copying tests...");
40-
copyFile(
41-
path.resolve(projectPath, "src/test/mochitest/"),
42-
path.join(mcPath, mcModulePath, "test/mochitest/"),
43-
{cwd: projectPath}
44-
);
45-
}
46-
4735
console.log(" copying reps.css...");
4836
copyFile(
4937
path.resolve(projectPath, "src/reps/reps.css"),

packages/devtools-reps/bin/download-firefox-artifact

Lines changed: 0 additions & 50 deletions
This file was deleted.

packages/devtools-reps/bin/prepare-mochitests-dev

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/devtools-reps/bin/publish-assets.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ function start() {
1010
console.log("start: publish assets");
1111
const projectPath = path.resolve(__dirname, "..");
1212

13-
const mochiDir = path.resolve(projectPath, "assets/build/mochitest");
1413
const buildDir = path.resolve(projectPath, "assets/build");
1514
const assetsDir = path.resolve(projectPath, "assets");
1615

17-
console.log(assetsDir, buildDir, mochiDir);
16+
console.log(assetsDir, buildDir);
1817
if (!fs.existsSync(assetsDir)) {
1918
fs.mkdirSync(assetsDir);
2019
}
@@ -23,22 +22,12 @@ function start() {
2322
fs.mkdirSync(buildDir);
2423
}
2524

26-
if (!fs.existsSync(mochiDir)) {
27-
fs.mkdirSync(mochiDir);
28-
}
29-
3025
copyFile(
3126
path.resolve(projectPath, "src/reps/reps.css"),
3227
path.resolve(projectPath, "assets/build/reps.css"),
3328
{ cwd: projectPath }
3429
);
3530

36-
copyFile(
37-
path.resolve(projectPath, "src/test/mochitest"),
38-
path.resolve(projectPath, "assets/build/mochitest"),
39-
{ cwd: projectPath }
40-
);
41-
4231
makeBundle({
4332
outputPath: `${projectPath}/assets/build`,
4433
projectPath

packages/devtools-reps/bin/run-mochitests-docker

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/devtools-reps/bin/update-docker

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/devtools-reps/circle.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ checkout:
1717

1818
test:
1919
override:
20-
- ./bin/run-mochitests-docker
2120
- jest
2221
post:
2322
- npm run lint-js

packages/devtools-reps/src/test/mochitest/chrome.ini

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/devtools-reps/src/test/mochitest/head.js

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)