Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5058

Wallaby.js not working (Cannot find module '../../config-test.json' from 'node_modules/cpm-config.app.js')

$
0
0

I have join a new organization recently, and I am trying to configure my machine.

As I am a huge fan of Wallaby.js, I'd like to make it work on my setup.

But I can't set the env params correctly.

Here is my wallaby.js file :

'use strict'module.exports = function () {    process.env.NODE_ENV = 'ci'    return {        files: ['src/**/*.js'],        tests: ['tests/**/*Spec.js'],        env: {            type: 'node',        },    }}

Viewing all articles
Browse latest Browse all 5058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>