@limetech/lime-web-components-testing
Advanced tools
Comparing version 4.16.0 to 4.16.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.16.1](https://github.com/Lundalogik/lime-web-components/compare/v4.16.0...v4.16.1) (2021-03-12) | ||
### Bug Fixes | ||
* **testing:** bind services registered on the test platform correctly ([5c17b14](https://github.com/Lundalogik/lime-web-components/commit/5c17b140b1c95baae74e38d5b0d599ea1da55dc6)) | ||
# [4.16.0](https://github.com/Lundalogik/lime-web-components/compare/v4.15.0...v4.16.0) (2021-03-09) | ||
@@ -8,0 +19,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.limeobjects = exports.limetypes = void 0; | ||
__exportStar(require("./spec"), exports); | ||
__exportStar(require("./component-testing"), exports); | ||
__exportStar(require("./platform"), exports); | ||
@@ -17,0 +17,0 @@ var limetypes_1 = require("./limetypes"); |
@@ -32,5 +32,9 @@ "use strict"; | ||
var handler = { | ||
get: function (target, prop) { | ||
if (prop in target) { | ||
return target[prop]; | ||
get: function (target, prop, receiver) { | ||
var value = Reflect.get(target, prop, receiver); | ||
if (value) { | ||
if (typeof value === 'function') { | ||
value = value.bind(target); | ||
} | ||
return value; | ||
} | ||
@@ -37,0 +41,0 @@ return function () { |
@@ -1,4 +0,4 @@ | ||
export * from './spec'; | ||
export * from './component-testing'; | ||
export * from './platform'; | ||
export { limetypes } from './limetypes'; | ||
export { limeobjects } from './limeobjects'; |
@@ -1,4 +0,4 @@ | ||
export * from './spec'; | ||
export * from './component-testing'; | ||
export * from './platform'; | ||
export { limetypes } from './limetypes'; | ||
export { limeobjects } from './limeobjects'; |
@@ -45,5 +45,9 @@ /** | ||
const handler = { | ||
get: (target, prop) => { | ||
if (prop in target) { | ||
return target[prop]; | ||
get: (target, prop, receiver) => { | ||
let value = Reflect.get(target, prop, receiver); | ||
if (value) { | ||
if (typeof value === 'function') { | ||
value = value.bind(target); | ||
} | ||
return value; | ||
} | ||
@@ -50,0 +54,0 @@ return (...args) => { |
{ | ||
"name": "@limetech/lime-web-components-testing", | ||
"version": "4.16.0", | ||
"version": "4.16.1", | ||
"author": "Lime Technologies", | ||
@@ -21,3 +21,5 @@ "homepage": "https://github.com/Lundalogik/lime-web-components", | ||
"scripts": { | ||
"build": "tsc && tsc -p tsconfig.es5.json" | ||
"build": "tsc && tsc -p tsconfig.es5.json", | ||
"test": "stencil test --spec", | ||
"test:watch": "stencil test --spec --watch" | ||
}, | ||
@@ -37,3 +39,9 @@ "publishConfig": { | ||
}, | ||
"gitHead": "eea65213b67134468f6269bd75e1deb14ebd174b" | ||
"devDependencies": { | ||
"@stencil/core": "^2.4.0", | ||
"@types/jest": "^26.0.20", | ||
"jest": "^26.6.3", | ||
"jest-cli": "^26.6.3" | ||
}, | ||
"gitHead": "231ba74598a5a8a5492c058c821e7e69feaf2f6d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
769671
100
27026
4