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:
0
src/controllers/spec/deploy.spec.ts
Normal file
0
src/controllers/spec/deploy.spec.ts
Normal 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}`)
|
||||
})
|
||||
|
||||
@@ -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
1
src/utils/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './file'
|
||||
Reference in New Issue
Block a user