@loki/integration-core
Advanced tools
Comparing version 0.27.0 to 0.28.0
{ | ||
"name": "@loki/integration-core", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"description": "Loki storybook integration core lib", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "f99c5c44c92fa7eb5ea6e849b0e6f08d31dc7ae9" | ||
"gitHead": "6cbab143b2367fbf4dddca561c593257c503ff11" | ||
} |
@@ -16,3 +16,3 @@ /* eslint prefer-arrow-callback: 0, no-var: 0, object-shorthand: 0 */ | ||
function awaitReady() { | ||
return Promise.all(pendingPromises.splice(0)).then(function() { | ||
return Promise.all(pendingPromises.splice(0)).then(function () { | ||
if (pendingPromises.length) { | ||
@@ -19,0 +19,0 @@ return awaitReady(); |
@@ -44,3 +44,3 @@ /* eslint object-shorthand: 0, prefer-arrow-callback: 0, no-var: 0, no-console: 0 */ | ||
readyStateManager.registerPendingPromise( | ||
new Promise(function(resolve) { | ||
new Promise(function (resolve) { | ||
resolveAsyncStory = resolve; | ||
@@ -50,3 +50,3 @@ }) | ||
const done = function() { | ||
const done = function () { | ||
if (resolveAsyncStory) { | ||
@@ -85,3 +85,3 @@ resolveAsyncStory(); | ||
enumerable: true, | ||
get: function() { | ||
get: function () { | ||
return storiesOf; | ||
@@ -93,9 +93,9 @@ }, | ||
storybook.setAddon({ | ||
lokiSkip: function(...args) { | ||
lokiSkip: function (...args) { | ||
return wrapWithSkipStory(this.add.bind(this), this.kind)(...args); | ||
}, | ||
lokiAsync: function(...args) { | ||
lokiAsync: function (...args) { | ||
return wrapWithAsyncStory(this.add.bind(this))(...args); | ||
}, | ||
lokiAsyncSkip: function(...args) { | ||
lokiAsyncSkip: function (...args) { | ||
return wrapWithSkipStory( | ||
@@ -102,0 +102,0 @@ wrapWithAsyncStory(this.add.bind(this)), |
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
6147