feat: modernizing our JS and Node snippet targets #760
Annotations
5 errors
src/helpers/utils.test.ts > availableTargets > returns all available targets:
src/helpers/utils.test.ts#L7
Error: Snapshot `availableTargets > returns all available targets 1` mismatched
- Expected
+ Received
@@ -182,14 +182,15 @@
"key": "axios",
"link": "https://github.com/axios/axios",
"title": "Axios",
},
{
- "description": "Perform asynchronous HTTP requests with the Fetch API",
- "extname": ".cjs",
- "key": "fetch",
- "link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",
+ "description": "Simplified HTTP node-fetch client",
+ "extname": ".cjs",
+ "installation": "npm install node-fetch@2 --save",
+ "key": "fetch",
+ "link": "https://github.com/bitinn/node-fetch",
"title": "Fetch",
},
],
"default": "fetch",
"key": "node",
❯ src/helpers/utils.test.ts:7:32
|
build (20)
Process completed with exit code 1.
|
build (18)
The job was canceled because "_20" failed.
|
src/helpers/utils.test.ts > availableTargets > returns all available targets:
src/helpers/utils.test.ts#L7
Error: Snapshot `availableTargets > returns all available targets 1` mismatched
- Expected
+ Received
@@ -182,14 +182,15 @@
"key": "axios",
"link": "https://github.com/axios/axios",
"title": "Axios",
},
{
- "description": "Perform asynchronous HTTP requests with the Fetch API",
- "extname": ".cjs",
- "key": "fetch",
- "link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",
+ "description": "Simplified HTTP node-fetch client",
+ "extname": ".cjs",
+ "installation": "npm install node-fetch@2 --save",
+ "key": "fetch",
+ "link": "https://github.com/bitinn/node-fetch",
"title": "Fetch",
},
],
"default": "fetch",
"key": "node",
❯ src/helpers/utils.test.ts:7:32
|
build (18)
The operation was canceled.
|