@apollo-elements/fast
Advanced tools
Comparing version 2.0.0-next.7 to 2.0.0-next.8
import { __decorate } from "tslib"; | ||
import { makeClient } from '@apollo-elements/test'; | ||
import { fixture, expect } from '@open-wc/testing'; | ||
@@ -8,2 +9,3 @@ import { unsafeStatic, html as h } from 'lit/static-html.js'; | ||
import { spy, useFakeTimers } from 'sinon'; | ||
import * as S from '@apollo-elements/test/schema'; | ||
import { assertType, isApolloError, setupSpies, setupStubs, stringify, } from '@apollo-elements/test'; | ||
@@ -79,2 +81,6 @@ const template = html ` | ||
let Test = class Test extends ApolloQuery { | ||
constructor() { | ||
super(...arguments); | ||
this.query = S.NullableParamQuery; | ||
} | ||
}; | ||
@@ -88,2 +94,3 @@ Test = __decorate([ | ||
element = await fixture(`<${name}></${name}>`); | ||
element.client = makeClient(); | ||
}); | ||
@@ -101,3 +108,5 @@ beforeEach(() => spy(element.controller, 'refetch')); | ||
beforeEach(function startPolling() { element.startPolling(1000); }); | ||
beforeEach(() => { clock.tick(3500); }); | ||
beforeEach(() => { | ||
clock.tick(3500); | ||
}); | ||
it('refetches', function () { | ||
@@ -104,0 +113,0 @@ expect(element.controller.refetch).to.have.been.calledThrice; |
{ | ||
"name": "@apollo-elements/fast", | ||
"version": "2.0.0-next.7", | ||
"version": "2.0.0-next.8", | ||
"description": "👩🚀🌛 FastElements for Apollo GraphQL 🚀👨🚀", | ||
@@ -71,4 +71,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@apollo-elements/core": "^0.0.1-next.6", | ||
"@apollo-elements/mixins": "^4.0.0-next.6", | ||
"@apollo-elements/core": "^0.1.0-next.7", | ||
"@apollo-elements/mixins": "^4.0.0-next.7", | ||
"@microsoft/fast-element": "^1.4.0", | ||
@@ -75,0 +75,0 @@ "tslib": "^2.3.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
271242
4017
+ Added@apollo-elements/core@0.1.0-next.7(transitive)
- Removed@apollo-elements/core@0.0.1-next.6(transitive)