generated from jairoadi/podium-api-demo-contacts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from podium/ra/cortex-checks-quality
Ra/cortex checks quality
- Loading branch information
Showing
9 changed files
with
3,188 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { getTokenID } from "./index.js"; | ||
import { getTokenID } from './index.js'; | ||
|
||
it("validates existence of getTokenID", async () => { | ||
expect(typeof getTokenID).toBe("function"); | ||
it('validates existence of getTokenID', async () => { | ||
expect(typeof getTokenID).toBe('function'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { app } from "./index.js"; | ||
import fs from "fs"; | ||
import { createServer } from "https"; | ||
import { app } from './index.js'; | ||
import fs from 'fs'; | ||
import { createServer } from 'https'; | ||
|
||
const key = fs.readFileSync("./certs/key.pem"); | ||
const cert = fs.readFileSync("./certs/cert.pem"); | ||
const key = fs.readFileSync('./certs/key.pem'); | ||
const cert = fs.readFileSync('./certs/cert.pem'); | ||
const server = createServer({ key: key, cert: cert }, app); | ||
|
||
server.listen(3000, () => { | ||
console.log("Server is listening on port 3000"); | ||
console.log('Server is listening on port 3000'); | ||
}); |
Oops, something went wrong.