1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

test: fixed

This commit is contained in:
Saad Jutt
2022-03-24 04:22:30 +05:00
parent 954b2e3e2e
commit 0c0301433c
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ import { AppStreamConfig } from '../types'
import { getTmpAppStreamConfigPath } from './file'
export const loadAppStreamConfig = async () => {
if (process.env.NODE_ENV === 'test') return
const appStreamConfigPath = getTmpAppStreamConfigPath()
const content = (await fileExists(appStreamConfigPath))

View File

@@ -10,6 +10,8 @@ import {
import { getTmpMacrosPath, sasJSCoreMacros, sasJSCoreMacrosInfo } from '.'
export const copySASjsCore = async () => {
if (process.env.NODE_ENV === 'test') return
console.log('Copying Macros from container to drive(tmp).')
const macrosDrivePath = getTmpMacrosPath()