Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-wc/testing

Package Overview
Dependencies
Maintainers
2
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/testing - npm Package Compare versions

Comparing version 0.7.2 to 0.8.0

karma.es5.config.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.8.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.7.2...@open-wc/testing@0.8.0) (2018-12-19)
### Features
* use extendable karma configs by default ([8fd9435](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/8fd9435))
## [0.7.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.7.1...@open-wc/testing@0.7.2) (2018-12-18)

@@ -8,0 +19,0 @@

40

karma.es5.bs.config.js

@@ -1,33 +0,15 @@

// eslint-disable-next-line import/no-extraneous-dependencies
const createBaseConfig = require('@open-wc/testing-karma-bs/create-karma-es5-bs.config');
/* eslint-disable import/no-extraneous-dependencies */
const merge = require('webpack-merge');
const bsSettings = require('@open-wc/testing-karma-bs/bs-settings.js');
const karmaEs5Config = require('./karma.es5.config.js');
module.exports = config => {
const baseConfig = createBaseConfig(config);
config.set({
...baseConfig,
files: [
...baseConfig.files,
// allows running single tests with the --grep flag
config.grep ? [config.grep] : 'test/**/*.test.js',
],
browserStack: {
...baseConfig.browserStack,
project: 'open-wc',
},
// is a meta package with with just some smoke tests
coverageIstanbulReporter: {
thresholds: {
global: {
statements: 0,
branches: 0,
functions: 0,
lines: 0,
},
config.set(
merge(bsSettings(config), karmaEs5Config(config), {
browserStack: {
project: 'your-name',
},
},
});
}),
);
return config;
};
{
"name": "@open-wc/testing",
"version": "0.7.2",
"version": "0.8.0",
"description": "Testing following open-wc recommendations",

@@ -14,9 +14,12 @@ "author": "open-wc",

"test": "karma start",
"test:es5:bs": "karma start karma.es5.bs.config.js",
"test:demo": "karma start demo/karma.conf.js"
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:demo": "karma start demo/karma.conf.js",
"test:es5": "karma start karma.es5.config.js",
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false",
"test:es5:bs": "karma start karma.es5.bs.config.js"
},
"dependencies": {
"@bundled-es-modules/chai": "^4.2.0",
"@open-wc/chai-dom-equals": "^0.6.2",
"@open-wc/testing-helpers": "^0.5.2",
"@open-wc/chai-dom-equals": "^0.7.0",
"@open-wc/testing-helpers": "^0.6.0",
"@types/chai": "^4.1.7",

@@ -26,7 +29,8 @@ "mocha": "^5.0.0"

"devDependencies": {
"@open-wc/testing-karma": "^0.3.0",
"@open-wc/testing-karma-bs": "^0.1.5",
"@open-wc/testing-wallaby": "^0.1.4"
"@open-wc/testing-karma": "^0.4.0",
"@open-wc/testing-karma-bs": "^0.2.0",
"@open-wc/testing-wallaby": "^0.1.4",
"webpack-merge": "^4.1.5"
},
"gitHead": "768387ec6b61cf0d0be79437a94a59c154f35425"
"gitHead": "a270234bc7c10edef68310c8c8169e7e5ccec5a8"
}

@@ -28,2 +28,5 @@ # Testing

npx -p yo -p generator-open-wc -c 'yo open-wc:testing'
# or if you already have a webcomponent and/or test files
npx -p yo -p generator-open-wc -c 'yo open-wc:testing-upgrade'
```

@@ -65,3 +68,6 @@

"scripts": {
"test": "karma start"
"test": "karma start",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:es5": "karma start karma.es5.config.js",
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false",
},

@@ -68,0 +74,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc