A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
We only use the browser-policy-framing package, which makes the check for Package['browser-policy-common'] pass, but since we don't use browser-policy-content we get the following error on test runs now:
W20180608-17:13:06.473(0)? (STDERR) TypeError: Cannot read property 'allowInlineStyles' of undefined
W20180608-17:13:06.473(0)? (STDERR) at server.js (packages/meteortesting:mocha/server.js:13:25)
We only use the
browser-policy-framing
package, which makes the check forPackage['browser-policy-common']
pass, but since we don't usebrowser-policy-content
we get the following error on test runs now:It happens because the check here assumes we're also using browser-policy-content though we're not. We didn't experience this before Meteor 1.7, which is odd.
It seems to me that this conditional should check for
browser-policy-common
ANDbrowser-policy-content
. Does that seem right?