mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
feat: rename test to testing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@open-wc/test-karma",
|
||||
"name": "@open-wc/testing-karma",
|
||||
"version": "0.0.0",
|
||||
"description": "Testing with karma following open-wc recommendations",
|
||||
"author": "open-wc",
|
||||
@@ -8,7 +8,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/test-karma",
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/testing-karma",
|
||||
"dependencies": {
|
||||
"istanbul-instrumenter-loader": "3.0.1",
|
||||
"karma": "3.0.0",
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@open-wc/test-wallaby",
|
||||
"name": "@open-wc/testing-wallaby",
|
||||
"version": "0.0.0",
|
||||
"description": "Testing with wallaby following open-wc recommendations",
|
||||
"author": "open-wc",
|
||||
@@ -8,7 +8,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/test-wallaby",
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/testing-wallaby",
|
||||
"dependencies": {
|
||||
"wallaby-webpack": "3.9.12",
|
||||
"webpack": "4.20.2"
|
||||
@@ -27,10 +27,10 @@ module.exports = (config) => {
|
||||
pattern: '../../node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js',
|
||||
watched: false,
|
||||
},
|
||||
// {
|
||||
// pattern: '../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js',
|
||||
// watched: false
|
||||
// },
|
||||
{
|
||||
pattern: '../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js',
|
||||
watched: false,
|
||||
},
|
||||
'test/index.karma.js',
|
||||
],
|
||||
preprocessors: {
|
||||
@@ -1,6 +1,6 @@
|
||||
import { html as litHtml } from 'lit-html/lit-html.js';
|
||||
|
||||
export { render } from 'lit-html/lib/shady-render.js';
|
||||
export { render } from 'lit-html/lit-html.js';
|
||||
|
||||
/**
|
||||
* This is a wrapper around lit-html that supports dynamic strings to be added as a preprocessing
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@open-wc/test",
|
||||
"name": "@open-wc/testing",
|
||||
"version": "0.1.0",
|
||||
"description": "Testing following open-wc recommendations",
|
||||
"author": "open-wc",
|
||||
@@ -8,20 +8,20 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/test",
|
||||
"repository": "https://github.com/open-wc/open-wc/tree/master/packages/testing",
|
||||
"scripts": {
|
||||
"test": "karma start",
|
||||
"test:bs": "karma start karma-bs.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"chai": "^4.2.0",
|
||||
"lit-html": "^0.11.0",
|
||||
"lit-html": "0.12.0",
|
||||
"sinon": "^6.3.4",
|
||||
"mocha": "^5.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@webcomponents/webcomponentsjs": "^2.1.3",
|
||||
"@open-wc/test-karma": "^0.0.0",
|
||||
"@open-wc/test-wallaby": "^0.0.0"
|
||||
"@webcomponents/webcomponentsjs": "2.1.3",
|
||||
"@open-wc/testing-karma": "^0.0.0",
|
||||
"@open-wc/testing-wallaby": "^0.0.0"
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
<script src="../../../mocha/mocha.js"></script>
|
||||
<script src="../../../chai/chai.js"></script>
|
||||
<script src="../../../sinon/pkg/sinon.js"></script>
|
||||
<script src="../../../@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mocha"></div>
|
||||
@@ -1,5 +1,3 @@
|
||||
import '@webcomponents/webcomponentsjs/webcomponents-bundle.js';
|
||||
|
||||
import './lit-html.test.js';
|
||||
import './helpers.test.js';
|
||||
import './litHtmlFixture.test.js';
|
||||
Reference in New Issue
Block a user