1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 07:00:04 +00:00

test: improved tests

This commit is contained in:
Yury Shkoda
2021-08-03 08:26:42 +03:00
parent b3c4425215
commit 8b1e79497f
7 changed files with 13 additions and 5 deletions

View File

View File

@@ -1,6 +1,6 @@
import app from './app'
const port = 5000
app.listen(port, () => {
const listener = app.listen(port, () => {
console.log(`⚡️[server]: Server is running at http://localhost:${port}`)
})

View File

@@ -6,3 +6,5 @@ export const getTmpFolderPath = () =>
export const getTmpFilesFolderPath = () =>
path.join(getTmpFolderPath(), 'files')
export const getTmpLogFolderPath = () => path.join(getTmpFolderPath(), 'log')

1
src/utils/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './file'