mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
feat: tests
This commit is contained in:
@@ -15,15 +15,11 @@
|
||||
*/
|
||||
import {Logger, SMTP} from '@openstapps/logger';
|
||||
import config from 'config';
|
||||
import {existsSync, readFile, writeFile} from 'fs';
|
||||
import {promisify} from 'util';
|
||||
import {existsSync} from 'fs';
|
||||
|
||||
// set transport on logger
|
||||
Logger.setTransport(SMTP.getInstance());
|
||||
|
||||
export const asyncReadFile = promisify(readFile);
|
||||
export const asyncWriteFile = promisify(writeFile);
|
||||
|
||||
/**
|
||||
* A representation of the file paths of the needed ssl certificates
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user