File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1- require ( 'dotenv/config' ) ;
21const fs = require ( 'fs' ) ;
32const { CONFIG_PATH } = require ( './src/constants' ) ;
43const { socket } = require ( './src/socket' ) ;
Original file line number Diff line number Diff line change 4747 "@rollup/plugin-node-resolve" : " ^16.0.1" ,
4848 "@rollup/plugin-terser" : " ^0.4.4" ,
4949 "commander" : " ^14.0.0" ,
50- "dotenv" : " ^16.5.0" ,
5150 "eslint" : " ^8.57.1" ,
5251 "eslint-config-airbnb-base" : " ^15.0.0" ,
5352 "eslint-plugin-import" : " ^2.31.0" ,
6160 "prebuild" : " rm -rf dist" ,
6261 "build" : " rollup --bundleConfigAsCjs -c" ,
6362 "start" : " babel-node src/index.js" ,
64- "test" : " DOTENV_CONFIG_PATH =.env.test jest -i --setupFiles dotenv/config --forceExit"
63+ "test" : " node --env-file =.env.test ./node_modules/.bin/ jest -i --forceExit"
6564 },
6665 "jest" : {
6766 "globalSetup" : " ./jest.setup.js" ,
Original file line number Diff line number Diff line change 1- import 'dotenv/config' ;
21import fs from 'fs' ;
32import net from 'net' ;
43import { config } from './config' ;
You can’t perform that action at this time.
0 commit comments