piral-urql 1.3.3-beta.6187 → 1.3.3-beta.6201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-urql",
3
- "version": "1.3.3-beta.6187",
3
+ "version": "1.3.3-beta.6201",
4
4
  "description": "Plugin for providing a GraphQL client in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -71,8 +71,8 @@
71
71
  "devDependencies": {
72
72
  "@types/react": "^18.0.0",
73
73
  "graphql": "14.6.0",
74
- "piral-core": "1.3.3-beta.6187",
74
+ "piral-core": "1.3.3-beta.6201",
75
75
  "react": "^18.0.0"
76
76
  },
77
- "gitHead": "3da0780821a0aeef693b36d08dcf45eeb462d599"
77
+ "gitHead": "6e9f4e6f83514b5c38960ce015e073efc668f3d6"
78
78
  }
@@ -1,7 +1,11 @@
1
+ /**
2
+ * @vitest-environment jsdom
3
+ */
4
+ import { describe, it, expect, vitest } from 'vitest';
1
5
  import { createGqlApi } from './create';
2
6
  import { PiletGqlApi } from './types';
3
7
 
4
- jest.mock('./queries', () => ({
8
+ vitest.mock('./queries', () => ({
5
9
  gqlQuery(c, q, o) {
6
10
  return Promise.resolve(o);
7
11
  },
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @vitest-environment jsdom
3
+ */
4
+ import { describe, it } from 'vitest';
1
5
  import { gqlQuery } from './queries';
2
6
 
3
7
  describe('Piral-Urql queries module', () => {
package/src/setup.test.ts CHANGED
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @vitest-environment jsdom
3
+ */
4
+ import { describe, it, expect } from 'vitest';
1
5
  import { setupGqlClient } from './setup';
2
6
 
3
7
  describe('Piral-Urql setup module', () => {