Skip to content

Commit

Permalink
fix: added various syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DdeHoog authored and mvegter committed Jun 30, 2020
1 parent 8aef110 commit 2f19404
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/public/views/Subsystems/Subsystems.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class SubsystemModel extends Observable {
/**
* Fetches all Subsystems.
*
* @returns {undefined}
* @returns {Promise}
*/
async fetchAllSubsystems() {
if (this.getSubsystems().isSuccess()) {
Expand All @@ -90,7 +90,7 @@ class SubsystemModel extends Observable {
* Fetches the Subsystems data.
*
* @param {*} subsystemId Id of the subsystem.
* @returns {undefined}
* @returns {Promise}
*/
async fetchOneSubsystem(subsystemId) {
if (this.getSubsystem().isSuccess()) {
Expand All @@ -117,7 +117,7 @@ class SubsystemModel extends Observable {
* Fetches the logs with provided subsystem.
*
* @param {*} subsystemId Id of the subsystem.
* @returns {undefined}
* @returns {Promise}
*/
async fetchLogsOfSubsystem(subsystemId) {
if (this.getLogsOfSubsystem().isSuccess()) {
Expand Down
2 changes: 1 addition & 1 deletion test/public/subsystems/detail.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = () => {
});

it('subsystem detail loads correctly', async () => {
await page.goto(`${url}/?page=subsystems&id=1`);
await page.goto(`${url}/?page=subsystem&id=1`);
await page.waitFor(100);

const postExists = await page.$('h2');
Expand Down

0 comments on commit 2f19404

Please sign in to comment.