Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/middleware/discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function createMiddleware({resources}) {
sendResponse();
});
} else {
next(new Error(`Unkown discovery type "${type}"`));
next(new Error(`Unknown discovery type "${type}"`));
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ReaderCollectionPrioritized = ui5Fs.ReaderCollectionPrioritized;
/**
* Returns a promise resolving by starting the server.
*
* @param {Object} app The express applicaton object
* @param {Object} app The express application object
* @param {number} port Desired port to listen to
* @param {boolean} changePortIfInUse If true and the port is already in use, an unused port is searched
* @param {boolean} acceptRemoteConnections If true, listens to remote connections and not only to localhost connections
Expand Down
2 changes: 1 addition & 1 deletion test/lib/server/middleware/middlewareRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test("getMiddleware", async (t) => {
t.is(res, cspModule, "Returned correct middleware module");
});

test("getMiddleware: Unkown middleware", async (t) => {
test("getMiddleware: Unknown middleware", async (t) => {
const err = t.throws(() => {
middlewareRepository.getMiddleware("🐬");
});
Expand Down