You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
Hi there! I'm having some troubles with my configuration. Right now I have a file like this:
'use strict';// require('babel-core/register'); // Commented since I think this is the problem.constjasmine=new(require('jasmine'))();constdocument=(require('jsdom').jsdom)('',{url: 'http://localhost:3000'});letwindow=document.defaultView;Object.keys(window).map(key=>{constpropertyDescriptor=Object.getOwnPropertyDescriptor(global,key);if(propertyDescriptor===undefined){global[key]=window[key];}});global.document=document;global.navigator=window.navigator;global.window=document.defaultView;global.XMLHttpRequest=window.XMLHttpRequest=require('xmlhttprequest').XMLHttpRequest;global.getJasmineRequireObj=()=>jasmine;require('jasmine-ajax');// Environment setupglobal.ENV='TEST';// Removes React warnings during testsprocess.env.NODE_ENV='production';/* * Jasmine Initialization */jasmine.loadConfig({spec_dir: 'test',spec_files: ['**/*.spec.js']});jasmine.onComplete(function(passed){process.exit(passed ? 0 : 1);});jasmine.execute();
The issue is that, it doesn't take any spec file in the coverage. It just show this file and I don't know what the problem is. I tried with Istanbul, Isparta, using babel-node and anything works. I think the problem is babel, since I need to apply it somewhere in order to run all the tests.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there! I'm having some troubles with my configuration. Right now I have a file like this:
The issue is that, it doesn't take any spec file in the coverage. It just show this file and I don't know what the problem is. I tried with Istanbul, Isparta, using babel-node and anything works. I think the problem is babel, since I need to apply it somewhere in order to run all the tests.
The text was updated successfully, but these errors were encountered: