Skip to content

Commit a328ce5

Browse files
authored
Cleanup test directory (#2937)
Moves files around and renames some so that the structure is cleaner and more consistent
1 parent 21ae79b commit a328ce5

48 files changed

Lines changed: 739 additions & 825 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Special thanks to: @rejas, @sdetweil
2121

2222
### Updated
2323

24+
- Cleaned up test directory
2425
- Updated e2e tests (moved `done()` in helper functions) and use es6 syntax in all tests
2526
- Updated da translation
2627
- Rework weather module

js/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ function Server(config, callback) {
7373

7474
app.use("/js", express.static(__dirname));
7575

76-
const directories = ["/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/tests/configs"];
76+
// TODO add tests directory only when running tests?
77+
const directories = ["/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/tests/configs", "/tests/mocks"];
7778
for (const directory of directories) {
7879
app.use(directory, express.static(path.resolve(global.root_path + directory)));
7980
}

0 commit comments

Comments
 (0)