relay-test-utils-internal 16.0.0 → 16.2.0
Sign up to get free protection for your applications and to get access to all the features.
package/index.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "relay-test-utils-internal",
|
3
3
|
"description": "Internal utilities for testing Relay.",
|
4
|
-
"version": "16.
|
4
|
+
"version": "16.2.0",
|
5
5
|
"keywords": [
|
6
6
|
"graphql",
|
7
7
|
"relay"
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"dependencies": {
|
18
18
|
"@babel/runtime": "^7.0.0",
|
19
19
|
"fbjs": "^3.0.2",
|
20
|
-
"relay-runtime": "16.
|
20
|
+
"relay-runtime": "16.2.0"
|
21
21
|
},
|
22
22
|
"directories": {
|
23
23
|
"": "./"
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/**
|
2
|
-
* Relay v16.
|
2
|
+
* Relay v16.2.0
|
3
3
|
*/
|
4
|
-
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=3)}([function(e,n){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(5)),o=console.error;e.exports={createConsoleInterceptionSystem:function(e,n,t){var i=!1,c=[],a=[],s=[],u=e.charAt(0).toUpperCase()+e.slice(1),l=u+"s",f="disallow".concat(u,"s");function p(e){var n=c.findIndex((function(n){return e.startsWith(n)})),t=a.findIndex((function(n){return e.startsWith(n)}));if(s.length>0&&e.startsWith(s[0]))s.shift();else if(n>=0)c.splice(n,1);else{if(!(t>=0))throw o("Unexpected ".concat(u,": ")+e),new Error("".concat(u,": ")+e);a.splice(t,1)}}function d(t,o){if(s.length>0)throw new Error("Cannot nest ".concat(n,"() calls."));s.push.apply(s,(0,r.default)(t));var i=o();if(s.length>0){var c=s.toString();throw s.length=0,new Error("Expected ".concat(e," in callback: ").concat(c))}return i}return{disallowMessages:function(){if(i)throw new Error("".concat(f," should be called only once."));i=!0,t(p),afterEach((function(){if(a.length=0,s.length=0,c.length>0){var n=new Error("Some ".concat(c.length," expected ").concat(e,"s where not triggered:\n\n")+Array.from(c,(function(e){return" * ".concat(e)})).join("\n")+"\n");throw c.length=0,n}}))},expectMessageWillFire:function(e,n){if(!i)throw new Error("".concat(f," needs to be called before expect").concat(l,"WillFire"));for(var t=!0===(null==n?void 0:n.optional),r=0;r<(null!==(o=null==n?void 0:n.count)&&void 0!==o?o:1);r++){var o;(t?a:c).push(e)}},expectMessage:function(e,n){return d([e],n)},expectMessageMany:d}}}},function(e,n){e.exports=require("relay-runtime")},function(e,n,t){"use strict";var r=t(4),o=r.disallowConsoleErrors,i=r.expectConsoleError,c=r.expectConsoleErrorsMany,a=r.expectConsoleErrorWillFire,s=t(6),u=s.disallowConsoleWarnings,l=s.expectConsoleWarning,f=s.expectConsoleWarningsMany,p=s.expectConsoleWarningWillFire,d=t(7),g=t(9),x=g.FIXTURE_TAG,h=g.generateTestsFromFixtures,y=t(14),v=t(16),w=t(18),b=t(19),m=t(20),W=m.disallowWarnings,E=m.expectToWarn,C=m.expectToWarnMany,M=m.expectWarningWillFire,F=t(21),j=F.createMockEnvironment,S=F.unwrapContainer;e.exports={cannotReadPropertyOfUndefined__DEPRECATED:function(e){var n=process.version.match(/^v(\d+)\./),t=null==n?null:parseInt(n[1],10);return null==t||t<16?"Cannot read property '".concat(e,"' of undefined"):"Cannot read properties of undefined (reading '".concat(e,"')")},createMockEnvironment:j,describeWithFeatureFlags:d,disallowConsoleErrors:o,disallowConsoleWarnings:u,disallowWarnings:W,expectConsoleError:i,expectConsoleErrorsMany:c,expectConsoleErrorWillFire:a,expectConsoleWarningWillFire:p,expectConsoleWarning:l,expectConsoleWarningsMany:f,expectToWarn:E,expectToWarnMany:C,expectWarningWillFire:M,FIXTURE_TAG:x,generateTestsFromFixtures:h,matchers:y,printAST:v,simpleClone:w,trackRetentionForEnvironment:b,unwrapContainer:S}},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("error","expectConsoleError",(function(e){jest.spyOn(console,"error").mockImplementation(e)}));e.exports={disallowConsoleErrors:function(){r.disallowMessages()},expectConsoleErrorWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectConsoleError:function(e,n){return r.expectMessage(e,n)},expectConsoleErrorsMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n){e.exports=require("@babel/runtime/helpers/toConsumableArray")},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("warning","expectConsoleWarning",(function(e){jest.spyOn(console,"warn").mockImplementation(e)}));e.exports={disallowConsoleWarnings:function(){r.disallowMessages()},expectConsoleWarningWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectConsoleWarning:function(e,n){return r.expectMessage(e,n)},expectConsoleWarningsMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n,t){"use strict";var r=(0,t(0).default)(t(8));e.exports=function(e,n,o){describe.each(e)("".concat(n," - Feature flags: %o"),(function(e){var n;beforeEach((function(){var o=t(2).RelayFeatureFlags;n=(0,r.default)({},o),Object.assign(o,e)})),afterEach((function(){var e=t(2).RelayFeatureFlags;Object.assign(e,n)})),o()}))}},function(e,n){e.exports=require("@babel/runtime/helpers/objectSpread2")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(10)),o=t(11),i=t(12),c=t(13),a=Symbol.for("FIXTURE_TAG");expect.addSnapshotSerializer({print:function(e){return Object.keys(e).map((function(n){return"~~~~~~~~~~ ".concat(n.toUpperCase()," ~~~~~~~~~~\n").concat(e[n])})).join("\n")},test:function(e){return e&&!0===e[a]}}),e.exports={generateTestsFromFixtures:function(e,n){var t=i.readdirSync(e);test("has fixtures in ".concat(e),(function(){expect(t.length>0).toBe(!0)}));var s=t.filter((function(e){return e.startsWith("only.")}));s.length&&(test.skip.each(t.filter((function(e){return!e.startsWith("only.")})))("matches expected output: %s",(function(){})),t=s),test.each(t)("matches expected output: %s",(function(t){var s,u=i.readFileSync(c.join(e,t),"utf8"),l=o(u,n,t);expect((s={},(0,r.default)(s,a,!0),(0,r.default)(s,"input",u),(0,r.default)(s,"output",l),s)).toMatchSnapshot()}))},FIXTURE_TAG:a}},function(e,n){e.exports=require("@babel/runtime/helpers/defineProperty")},function(e,n,t){"use strict";e.exports=function(e,n,t){if(/^# *expected-to-throw/.test(e)||/\.error\.\w+$/.test(t)){var r;try{r=n(e)}catch(e){return"THROWN EXCEPTION:\n\n".concat(e.toString())}throw new Error("Expected test file '".concat(t,"' to throw, but it passed:\n").concat(r))}return n(e)}},function(e,n){e.exports=require("fs")},function(e,n){e.exports=require("path")},function(e,n,t){"use strict";e.exports={toBeDeeplyFrozen:function(e){return function e(n){if(expect(Object.isFrozen(n)).toBe(!0),Array.isArray(n))n.forEach((function(n){return e(n)}));else if("object"==typeof n&&null!==n)for(var t in n)e(n[t])}(e),{pass:!0}},toWarn:function(e,n){var r=this.isNot;function o(e){return e instanceof RegExp?e.toString():JSON.stringify(e)}function i(e){return"["+e.map(o).join(", ")+"]"}function c(e){return e.length?e.map((function(e){return i([!!e[0]].concat(e.slice(1)))})).join(", "):"[]"}var a=t(15);if(!a.mock)throw new Error("toWarn(): Requires `jest.mock('warning')`.");var s=a.mock.calls.length;e();var u=a.mock.calls.slice(s);return n?(Array.isArray(n)||(n=[n]),{pass:!!u.find((function(e){return e.length===n.length+1&&e.every((function(e,t){if(!t)return!e;var r=n[t-1];return r instanceof RegExp?r.test(e):e===r}))})),message:function(){return"Expected ".concat(r?"not ":"","to warn: ")+"".concat(i([!1].concat(n))," but ")+"`warning` received the following calls: "+"".concat(c(u),".")}}):{pass:!!u.filter((function(e){return!e[0]})).length,message:function(){return"Expected ".concat(r?"not ":"","to warn but ")+"`warning` received the following calls: "+"".concat(c(u),".")}}}}},function(e,n){e.exports=require("fbjs/lib/warning")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(17));e.exports=function(e){return function e(n,t){switch(typeof n){case"undefined":return"undefined";case"object":if(null===n)return"null";if(Array.isArray(n)){if(0===n.length)return"[]";var o,i="[\n",c=t+" ",a=(0,r.default)(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;i+=c+e(s,c)+",\n"}}catch(e){a.e(e)}finally{a.f()}return i+=t+"]"}if("string"==typeof n.kind){for(var u="".concat(n.kind," {\n"),l=t+" ",f=0,p=Object.entries(n);f<p.length;f++){var d=p[f],g=d[0],x=d[1];"kind"!==g&&(u+="".concat(l).concat(g,": ").concat(e(x,l),",\n"))}return u+=t+"}"}if("function"==typeof n.toJSON)return e(n.toJSON(),t);for(var h="{\n",y=t+" ",v=0,w=Object.entries(n);v<w.length;v++){var b=w[v],m=b[0],W=b[1];h+="".concat(y).concat(JSON.stringify(m),": ").concat(e(W,y),",\n")}return h+=t+"}";case"string":case"number":case"boolean":return JSON.stringify(n,null,2).replace("\n","\n"+t);default:throw new Error("printAST doesn't handle values where "+"typeof value === '".concat(typeof n,"'."))}}(e,"")}},function(e,n){e.exports=require("@babel/runtime/helpers/createForOfIteratorHelper")},function(e,n,t){"use strict";e.exports=function e(n){if(Array.isArray(n))return n.map(e);if(null!=n&&"object"==typeof n){var t={};for(var r in n)t[r]=e(n[r]);return t}return n}},function(e,n,t){"use strict";e.exports=function(e){var n=new Map,t=jest.fn((function(e){var t,r=null!==(t=n.get(e))&&void 0!==t?t:NaN;1===r?n.delete(e):n.set(e,r-1)}));return e.retain=jest.fn((function(e){var r,o=e.request.identifier,i=null!==(r=n.get(o))&&void 0!==r?r:0;n.set(o,i+1);var c=!1;return{dispose:function(){c||t(o),c=!0}}})),{release_DEPRECATED:t,isOperationRetained:function(e){var t,r=e.request.identifier;return(null!==(t=n.get(r))&&void 0!==t?t:0)>0}}}},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("warning","expectToWarn",(function(e){jest.mock("fbjs/lib/warning",(function(){return jest.fn((function(n,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];if(!n){var c=0,a=t.replace(/%s/g,(function(){return String(o[c++])}));e(a)}}))}))}));e.exports={disallowWarnings:function(){r.disallowMessages()},expectWarningWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectToWarn:function(e,n){return r.expectMessage(e,n)},expectToWarnMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n){e.exports=require("relay-test-utils")}]);
|
4
|
+
(()=>{"use strict";var e={115:(e,n,r)=>{e.exports={toBeDeeplyFrozen:function(e){return function e(n){if(expect(Object.isFrozen(n)).toBe(!0),Array.isArray(n))n.forEach((function(n){return e(n)}));else if("object"==typeof n&&null!==n)for(var r in n)e(n[r])}(e),{pass:!0}},toWarn:function(e,n){var t=this.isNot;function o(e){return e instanceof RegExp?e.toString():JSON.stringify(e)}function a(e){return"["+e.map(o).join(", ")+"]"}function i(e){return e.length?e.map((function(e){return a([!!e[0]].concat(e.slice(1)))})).join(", "):"[]"}var c=r(520);if(!c.mock)throw new Error("toWarn(): Requires `jest.mock('warning')`.");var s=c.mock.calls.length;e();var l=c.mock.calls.slice(s);return n?(Array.isArray(n)||(n=[n]),{pass:!!l.find((function(e){return e.length===n.length+1&&e.every((function(e,r){if(!r)return!e;var t=n[r-1];return t instanceof RegExp?t.test(e):e===t}))})),message:function(){return"Expected ".concat(t?"not ":"","to warn: ")+"".concat(a([!1].concat(n))," but ")+"`warning` received the following calls: "+"".concat(i(l),".")}}):{pass:!!l.filter((function(e){return!e[0]})).length,message:function(){return"Expected ".concat(t?"not ":"","to warn but ")+"`warning` received the following calls: "+"".concat(i(l),".")}}}}},815:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("error","expectConsoleError",(function(e){jest.spyOn(console,"error").mockImplementation(e)}));e.exports={disallowConsoleErrors:function(){t.disallowMessages()},expectConsoleErrorWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectConsoleError:function(e,n){return t.expectMessage(e,n)},expectConsoleErrorsMany:function(e,n){return t.expectMessageMany(e,n)}}},489:(e,n,r)=>{var t=(0,r(193).default)(r(759)),o=console.error;e.exports={createConsoleInterceptionSystem:function(e,n,r){var a=!1,i=[],c=[],s=[],l=e.charAt(0).toUpperCase()+e.slice(1),u=l+"s",f="disallow".concat(l,"s");function p(e){var n=i.findIndex((function(n){return e.startsWith(n)})),r=c.findIndex((function(n){return e.startsWith(n)}));if(s.length>0&&e.startsWith(s[0]))s.shift();else if(n>=0)i.splice(n,1);else{if(!(r>=0))throw o("Unexpected ".concat(l,": ")+e),new Error("".concat(l,": ")+e);c.splice(r,1)}}function g(r,o){if(s.length>0)throw new Error("Cannot nest ".concat(n,"() calls."));s.push.apply(s,(0,t.default)(r));var a=o();if(s.length>0){var i=s.toString();throw s.length=0,new Error("Expected ".concat(e," in callback: ").concat(i))}return a}return{disallowMessages:function(){if(a)throw new Error("".concat(f," should be called only once."));a=!0,r(p),afterEach((function(){if(c.length=0,s.length=0,i.length>0){var n=new Error("Some ".concat(i.length," expected ").concat(e,"s where not triggered:\n\n")+Array.from(i,(function(e){return" * ".concat(e)})).join("\n")+"\n");throw i.length=0,n}}))},expectMessageWillFire:function(e,n){if(!a)throw new Error("".concat(f," needs to be called before expect").concat(u,"WillFire"));for(var r=!0===(null==n?void 0:n.optional),t=0;t<(null!==(o=null==n?void 0:n.count)&&void 0!==o?o:1);t++){var o;(r?c:i).push(e)}},expectMessage:function(e,n){return g([e],n)},expectMessageMany:g}}}},15:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("warning","expectConsoleWarning",(function(e){jest.spyOn(console,"warn").mockImplementation(e)}));e.exports={disallowConsoleWarnings:function(){t.disallowMessages()},expectConsoleWarningWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectConsoleWarning:function(e,n){return t.expectMessage(e,n)},expectConsoleWarningsMany:function(e,n){return t.expectMessageMany(e,n)}}},377:(e,n,r)=>{var t=(0,r(193).default)(r(56));e.exports=function(e,n,o){describe.each(e)("".concat(n," - Feature flags: %o"),(function(e){var n;beforeEach((function(){var o=r(268).RelayFeatureFlags;n=(0,t.default)({},o),Object.assign(o,e)})),afterEach((function(){var e=r(268).RelayFeatureFlags;Object.assign(e,n)})),o()}))}},436:(e,n,r)=>{var t=(0,r(193).default)(r(195)),o=r(861),a=r(48),i=r(315),c=Symbol.for("FIXTURE_TAG");expect.addSnapshotSerializer({print:function(e){return Object.keys(e).map((function(n){return"~~~~~~~~~~ ".concat(n.toUpperCase()," ~~~~~~~~~~\n").concat(e[n])})).join("\n")},test:function(e){return e&&!0===e[c]}}),e.exports={generateTestsFromFixtures:function(e,n){var r=a.readdirSync(e);test("has fixtures in ".concat(e),(function(){expect(r.length>0).toBe(!0)}));var s=r.filter((function(e){return e.startsWith("only.")}));s.length&&(test.skip.each(r.filter((function(e){return!e.startsWith("only.")})))("matches expected output: %s",(function(){})),r=s),test.each(r)("matches expected output: %s",(function(r){var s,l=a.readFileSync(i.join(e,r),"utf8"),u=o(l,n,r);expect((s={},(0,t.default)(s,c,!0),(0,t.default)(s,"input",l),(0,t.default)(s,"output",u),s)).toMatchSnapshot()}))},FIXTURE_TAG:c}},861:e=>{e.exports=function(e,n,r){if(/^# *expected-to-throw/.test(e)||/\.error\.\w+$/.test(r)){var t;try{t=n(e)}catch(e){return"THROWN EXCEPTION:\n\n".concat(e.toString())}throw new Error("Expected test file '".concat(r,"' to throw, but it passed:\n").concat(t))}return n(e)}},310:(e,n,r)=>{var t=r(815),o=t.disallowConsoleErrors,a=t.expectConsoleError,i=t.expectConsoleErrorsMany,c=t.expectConsoleErrorWillFire,s=r(15),l=s.disallowConsoleWarnings,u=s.expectConsoleWarning,f=s.expectConsoleWarningsMany,p=s.expectConsoleWarningWillFire,g=r(377),x=r(436),d=x.FIXTURE_TAG,h=x.generateTestsFromFixtures,v=r(115),y=r(805),w=r(85),W=r(455),E=r(791),m=E.disallowWarnings,C=E.expectToWarn,b=E.expectToWarnMany,F=E.expectWarningWillFire,M=r(371),T=M.createMockEnvironment,j=M.unwrapContainer;e.exports={cannotReadPropertyOfUndefined__DEPRECATED:function(e){var n=process.version.match(/^v(\d+)\./),r=null==n?null:parseInt(n[1],10);return null==r||r<16?"Cannot read property '".concat(e,"' of undefined"):"Cannot read properties of undefined (reading '".concat(e,"')")},createMockEnvironment:T,describeWithFeatureFlags:g,disallowConsoleErrors:o,disallowConsoleWarnings:l,disallowWarnings:m,expectConsoleError:a,expectConsoleErrorsMany:i,expectConsoleErrorWillFire:c,expectConsoleWarningWillFire:p,expectConsoleWarning:u,expectConsoleWarningsMany:f,expectToWarn:C,expectToWarnMany:b,expectWarningWillFire:F,FIXTURE_TAG:d,generateTestsFromFixtures:h,matchers:v,printAST:y,simpleClone:w,trackRetentionForEnvironment:W,unwrapContainer:j}},805:(e,n,r)=>{var t=(0,r(193).default)(r(680));function o(e,n){switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(Array.isArray(e)){if(0===e.length)return"[]";var r,a="[\n",i=n+" ",c=(0,t.default)(e);try{for(c.s();!(r=c.n()).done;)a+=i+o(r.value,i)+",\n"}catch(e){c.e(e)}finally{c.f()}return a+(n+"]")}if("string"==typeof e.kind){for(var s="".concat(e.kind," {\n"),l=n+" ",u=0,f=Object.entries(e);u<f.length;u++){var p=f[u],g=p[0],x=p[1];"kind"!==g&&(s+="".concat(l).concat(g,": ").concat(o(x,l),",\n"))}return s+(n+"}")}if("function"==typeof e.toJSON)return o(e.toJSON(),n);for(var d="{\n",h=n+" ",v=0,y=Object.entries(e);v<y.length;v++){var w=y[v],W=w[0],E=w[1];d+="".concat(h).concat(JSON.stringify(W),": ").concat(o(E,h),",\n")}return d+(n+"}");case"string":case"number":case"boolean":return JSON.stringify(e,null,2).replace("\n","\n"+n);default:throw new Error("printAST doesn't handle values where "+"typeof value === '".concat(typeof e,"'."))}}e.exports=function(e){return o(e,"")}},85:e=>{e.exports=function e(n){if(Array.isArray(n))return n.map(e);if(null!=n&&"object"==typeof n){var r={};for(var t in n)r[t]=e(n[t]);return r}return n}},455:e=>{e.exports=function(e){var n=new Map,r=jest.fn((function(e){var r,t=null!==(r=n.get(e))&&void 0!==r?r:NaN;1===t?n.delete(e):n.set(e,t-1)}));return e.retain=jest.fn((function(e){var t,o=e.request.identifier,a=null!==(t=n.get(o))&&void 0!==t?t:0;n.set(o,a+1);var i=!1;return{dispose:function(){i||r(o),i=!0}}})),{release_DEPRECATED:r,isOperationRetained:function(e){var r,t=e.request.identifier;return(null!==(r=n.get(t))&&void 0!==r?r:0)>0}}}},791:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("warning","expectToWarn",(function(e){jest.mock("fbjs/lib/warning",(function(){return jest.fn((function(n,r){for(var t=arguments.length,o=new Array(t>2?t-2:0),a=2;a<t;a++)o[a-2]=arguments[a];if(!n){var i=0,c=r.replace(/%s/g,(function(){return String(o[i++])}));e(c)}}))}))}));e.exports={disallowWarnings:function(){t.disallowMessages()},expectWarningWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectToWarn:function(e,n){return t.expectMessage(e,n)},expectToWarnMany:function(e,n){return t.expectMessageMany(e,n)}}},680:e=>{e.exports=require("@babel/runtime/helpers/createForOfIteratorHelper")},195:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},193:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},56:e=>{e.exports=require("@babel/runtime/helpers/objectSpread2")},759:e=>{e.exports=require("@babel/runtime/helpers/toConsumableArray")},520:e=>{e.exports=require("fbjs/lib/warning")},48:e=>{e.exports=require("fs")},315:e=>{e.exports=require("path")},268:e=>{e.exports=require("relay-runtime")},371:e=>{e.exports=require("relay-test-utils")}},n={},r=function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}(310);module.exports.RelayTestUtilsInternal=r})();
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/**
|
2
|
-
* Relay v16.
|
2
|
+
* Relay v16.2.0
|
3
3
|
*
|
4
4
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
5
5
|
*
|
6
6
|
* This source code is licensed under the MIT license found in the
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
8
8
|
*/
|
9
|
-
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=3)}([function(e,n){e.exports=require("@babel/runtime/helpers/interopRequireDefault")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(5)),o=console.error;e.exports={createConsoleInterceptionSystem:function(e,n,t){var i=!1,c=[],a=[],s=[],u=e.charAt(0).toUpperCase()+e.slice(1),l=u+"s",f="disallow".concat(u,"s");function p(e){var n=c.findIndex((function(n){return e.startsWith(n)})),t=a.findIndex((function(n){return e.startsWith(n)}));if(s.length>0&&e.startsWith(s[0]))s.shift();else if(n>=0)c.splice(n,1);else{if(!(t>=0))throw o("Unexpected ".concat(u,": ")+e),new Error("".concat(u,": ")+e);a.splice(t,1)}}function d(t,o){if(s.length>0)throw new Error("Cannot nest ".concat(n,"() calls."));s.push.apply(s,(0,r.default)(t));var i=o();if(s.length>0){var c=s.toString();throw s.length=0,new Error("Expected ".concat(e," in callback: ").concat(c))}return i}return{disallowMessages:function(){if(i)throw new Error("".concat(f," should be called only once."));i=!0,t(p),afterEach((function(){if(a.length=0,s.length=0,c.length>0){var n=new Error("Some ".concat(c.length," expected ").concat(e,"s where not triggered:\n\n")+Array.from(c,(function(e){return" * ".concat(e)})).join("\n")+"\n");throw c.length=0,n}}))},expectMessageWillFire:function(e,n){if(!i)throw new Error("".concat(f," needs to be called before expect").concat(l,"WillFire"));for(var t=!0===(null==n?void 0:n.optional),r=0;r<(null!==(o=null==n?void 0:n.count)&&void 0!==o?o:1);r++){var o;(t?a:c).push(e)}},expectMessage:function(e,n){return d([e],n)},expectMessageMany:d}}}},function(e,n){e.exports=require("relay-runtime")},function(e,n,t){"use strict";var r=t(4),o=r.disallowConsoleErrors,i=r.expectConsoleError,c=r.expectConsoleErrorsMany,a=r.expectConsoleErrorWillFire,s=t(6),u=s.disallowConsoleWarnings,l=s.expectConsoleWarning,f=s.expectConsoleWarningsMany,p=s.expectConsoleWarningWillFire,d=t(7),g=t(9),x=g.FIXTURE_TAG,h=g.generateTestsFromFixtures,y=t(14),v=t(16),w=t(18),b=t(19),m=t(20),W=m.disallowWarnings,E=m.expectToWarn,C=m.expectToWarnMany,M=m.expectWarningWillFire,F=t(21),j=F.createMockEnvironment,S=F.unwrapContainer;e.exports={cannotReadPropertyOfUndefined__DEPRECATED:function(e){var n=process.version.match(/^v(\d+)\./),t=null==n?null:parseInt(n[1],10);return null==t||t<16?"Cannot read property '".concat(e,"' of undefined"):"Cannot read properties of undefined (reading '".concat(e,"')")},createMockEnvironment:j,describeWithFeatureFlags:d,disallowConsoleErrors:o,disallowConsoleWarnings:u,disallowWarnings:W,expectConsoleError:i,expectConsoleErrorsMany:c,expectConsoleErrorWillFire:a,expectConsoleWarningWillFire:p,expectConsoleWarning:l,expectConsoleWarningsMany:f,expectToWarn:E,expectToWarnMany:C,expectWarningWillFire:M,FIXTURE_TAG:x,generateTestsFromFixtures:h,matchers:y,printAST:v,simpleClone:w,trackRetentionForEnvironment:b,unwrapContainer:S}},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("error","expectConsoleError",(function(e){jest.spyOn(console,"error").mockImplementation(e)}));e.exports={disallowConsoleErrors:function(){r.disallowMessages()},expectConsoleErrorWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectConsoleError:function(e,n){return r.expectMessage(e,n)},expectConsoleErrorsMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n){e.exports=require("@babel/runtime/helpers/toConsumableArray")},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("warning","expectConsoleWarning",(function(e){jest.spyOn(console,"warn").mockImplementation(e)}));e.exports={disallowConsoleWarnings:function(){r.disallowMessages()},expectConsoleWarningWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectConsoleWarning:function(e,n){return r.expectMessage(e,n)},expectConsoleWarningsMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n,t){"use strict";var r=(0,t(0).default)(t(8));e.exports=function(e,n,o){describe.each(e)("".concat(n," - Feature flags: %o"),(function(e){var n;beforeEach((function(){var o=t(2).RelayFeatureFlags;n=(0,r.default)({},o),Object.assign(o,e)})),afterEach((function(){var e=t(2).RelayFeatureFlags;Object.assign(e,n)})),o()}))}},function(e,n){e.exports=require("@babel/runtime/helpers/objectSpread2")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(10)),o=t(11),i=t(12),c=t(13),a=Symbol.for("FIXTURE_TAG");expect.addSnapshotSerializer({print:function(e){return Object.keys(e).map((function(n){return"~~~~~~~~~~ ".concat(n.toUpperCase()," ~~~~~~~~~~\n").concat(e[n])})).join("\n")},test:function(e){return e&&!0===e[a]}}),e.exports={generateTestsFromFixtures:function(e,n){var t=i.readdirSync(e);test("has fixtures in ".concat(e),(function(){expect(t.length>0).toBe(!0)}));var s=t.filter((function(e){return e.startsWith("only.")}));s.length&&(test.skip.each(t.filter((function(e){return!e.startsWith("only.")})))("matches expected output: %s",(function(){})),t=s),test.each(t)("matches expected output: %s",(function(t){var s,u=i.readFileSync(c.join(e,t),"utf8"),l=o(u,n,t);expect((s={},(0,r.default)(s,a,!0),(0,r.default)(s,"input",u),(0,r.default)(s,"output",l),s)).toMatchSnapshot()}))},FIXTURE_TAG:a}},function(e,n){e.exports=require("@babel/runtime/helpers/defineProperty")},function(e,n,t){"use strict";e.exports=function(e,n,t){if(/^# *expected-to-throw/.test(e)||/\.error\.\w+$/.test(t)){var r;try{r=n(e)}catch(e){return"THROWN EXCEPTION:\n\n".concat(e.toString())}throw new Error("Expected test file '".concat(t,"' to throw, but it passed:\n").concat(r))}return n(e)}},function(e,n){e.exports=require("fs")},function(e,n){e.exports=require("path")},function(e,n,t){"use strict";e.exports={toBeDeeplyFrozen:function(e){return function e(n){if(expect(Object.isFrozen(n)).toBe(!0),Array.isArray(n))n.forEach((function(n){return e(n)}));else if("object"==typeof n&&null!==n)for(var t in n)e(n[t])}(e),{pass:!0}},toWarn:function(e,n){var r=this.isNot;function o(e){return e instanceof RegExp?e.toString():JSON.stringify(e)}function i(e){return"["+e.map(o).join(", ")+"]"}function c(e){return e.length?e.map((function(e){return i([!!e[0]].concat(e.slice(1)))})).join(", "):"[]"}var a=t(15);if(!a.mock)throw new Error("toWarn(): Requires `jest.mock('warning')`.");var s=a.mock.calls.length;e();var u=a.mock.calls.slice(s);return n?(Array.isArray(n)||(n=[n]),{pass:!!u.find((function(e){return e.length===n.length+1&&e.every((function(e,t){if(!t)return!e;var r=n[t-1];return r instanceof RegExp?r.test(e):e===r}))})),message:function(){return"Expected ".concat(r?"not ":"","to warn: ")+"".concat(i([!1].concat(n))," but ")+"`warning` received the following calls: "+"".concat(c(u),".")}}):{pass:!!u.filter((function(e){return!e[0]})).length,message:function(){return"Expected ".concat(r?"not ":"","to warn but ")+"`warning` received the following calls: "+"".concat(c(u),".")}}}}},function(e,n){e.exports=require("fbjs/lib/warning")},function(e,n,t){"use strict";var r=(0,t(0).default)(t(17));e.exports=function(e){return function e(n,t){switch(typeof n){case"undefined":return"undefined";case"object":if(null===n)return"null";if(Array.isArray(n)){if(0===n.length)return"[]";var o,i="[\n",c=t+" ",a=(0,r.default)(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;i+=c+e(s,c)+",\n"}}catch(e){a.e(e)}finally{a.f()}return i+=t+"]"}if("string"==typeof n.kind){for(var u="".concat(n.kind," {\n"),l=t+" ",f=0,p=Object.entries(n);f<p.length;f++){var d=p[f],g=d[0],x=d[1];"kind"!==g&&(u+="".concat(l).concat(g,": ").concat(e(x,l),",\n"))}return u+=t+"}"}if("function"==typeof n.toJSON)return e(n.toJSON(),t);for(var h="{\n",y=t+" ",v=0,w=Object.entries(n);v<w.length;v++){var b=w[v],m=b[0],W=b[1];h+="".concat(y).concat(JSON.stringify(m),": ").concat(e(W,y),",\n")}return h+=t+"}";case"string":case"number":case"boolean":return JSON.stringify(n,null,2).replace("\n","\n"+t);default:throw new Error("printAST doesn't handle values where "+"typeof value === '".concat(typeof n,"'."))}}(e,"")}},function(e,n){e.exports=require("@babel/runtime/helpers/createForOfIteratorHelper")},function(e,n,t){"use strict";e.exports=function e(n){if(Array.isArray(n))return n.map(e);if(null!=n&&"object"==typeof n){var t={};for(var r in n)t[r]=e(n[r]);return t}return n}},function(e,n,t){"use strict";e.exports=function(e){var n=new Map,t=jest.fn((function(e){var t,r=null!==(t=n.get(e))&&void 0!==t?t:NaN;1===r?n.delete(e):n.set(e,r-1)}));return e.retain=jest.fn((function(e){var r,o=e.request.identifier,i=null!==(r=n.get(o))&&void 0!==r?r:0;n.set(o,i+1);var c=!1;return{dispose:function(){c||t(o),c=!0}}})),{release_DEPRECATED:t,isOperationRetained:function(e){var t,r=e.request.identifier;return(null!==(t=n.get(r))&&void 0!==t?t:0)>0}}}},function(e,n,t){"use strict";var r=(0,t(1).createConsoleInterceptionSystem)("warning","expectToWarn",(function(e){jest.mock("fbjs/lib/warning",(function(){return jest.fn((function(n,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];if(!n){var c=0,a=t.replace(/%s/g,(function(){return String(o[c++])}));e(a)}}))}))}));e.exports={disallowWarnings:function(){r.disallowMessages()},expectWarningWillFire:function(e,n){r.expectMessageWillFire(e,n)},expectToWarn:function(e,n){return r.expectMessage(e,n)},expectToWarnMany:function(e,n){return r.expectMessageMany(e,n)}}},function(e,n){e.exports=require("relay-test-utils")}]);
|
9
|
+
(()=>{"use strict";var e={115:(e,n,r)=>{e.exports={toBeDeeplyFrozen:function(e){return function e(n){if(expect(Object.isFrozen(n)).toBe(!0),Array.isArray(n))n.forEach((function(n){return e(n)}));else if("object"==typeof n&&null!==n)for(var r in n)e(n[r])}(e),{pass:!0}},toWarn:function(e,n){var t=this.isNot;function o(e){return e instanceof RegExp?e.toString():JSON.stringify(e)}function a(e){return"["+e.map(o).join(", ")+"]"}function i(e){return e.length?e.map((function(e){return a([!!e[0]].concat(e.slice(1)))})).join(", "):"[]"}var c=r(520);if(!c.mock)throw new Error("toWarn(): Requires `jest.mock('warning')`.");var s=c.mock.calls.length;e();var l=c.mock.calls.slice(s);return n?(Array.isArray(n)||(n=[n]),{pass:!!l.find((function(e){return e.length===n.length+1&&e.every((function(e,r){if(!r)return!e;var t=n[r-1];return t instanceof RegExp?t.test(e):e===t}))})),message:function(){return"Expected ".concat(t?"not ":"","to warn: ")+"".concat(a([!1].concat(n))," but ")+"`warning` received the following calls: "+"".concat(i(l),".")}}):{pass:!!l.filter((function(e){return!e[0]})).length,message:function(){return"Expected ".concat(t?"not ":"","to warn but ")+"`warning` received the following calls: "+"".concat(i(l),".")}}}}},815:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("error","expectConsoleError",(function(e){jest.spyOn(console,"error").mockImplementation(e)}));e.exports={disallowConsoleErrors:function(){t.disallowMessages()},expectConsoleErrorWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectConsoleError:function(e,n){return t.expectMessage(e,n)},expectConsoleErrorsMany:function(e,n){return t.expectMessageMany(e,n)}}},489:(e,n,r)=>{var t=(0,r(193).default)(r(759)),o=console.error;e.exports={createConsoleInterceptionSystem:function(e,n,r){var a=!1,i=[],c=[],s=[],l=e.charAt(0).toUpperCase()+e.slice(1),u=l+"s",f="disallow".concat(l,"s");function p(e){var n=i.findIndex((function(n){return e.startsWith(n)})),r=c.findIndex((function(n){return e.startsWith(n)}));if(s.length>0&&e.startsWith(s[0]))s.shift();else if(n>=0)i.splice(n,1);else{if(!(r>=0))throw o("Unexpected ".concat(l,": ")+e),new Error("".concat(l,": ")+e);c.splice(r,1)}}function g(r,o){if(s.length>0)throw new Error("Cannot nest ".concat(n,"() calls."));s.push.apply(s,(0,t.default)(r));var a=o();if(s.length>0){var i=s.toString();throw s.length=0,new Error("Expected ".concat(e," in callback: ").concat(i))}return a}return{disallowMessages:function(){if(a)throw new Error("".concat(f," should be called only once."));a=!0,r(p),afterEach((function(){if(c.length=0,s.length=0,i.length>0){var n=new Error("Some ".concat(i.length," expected ").concat(e,"s where not triggered:\n\n")+Array.from(i,(function(e){return" * ".concat(e)})).join("\n")+"\n");throw i.length=0,n}}))},expectMessageWillFire:function(e,n){if(!a)throw new Error("".concat(f," needs to be called before expect").concat(u,"WillFire"));for(var r=!0===(null==n?void 0:n.optional),t=0;t<(null!==(o=null==n?void 0:n.count)&&void 0!==o?o:1);t++){var o;(r?c:i).push(e)}},expectMessage:function(e,n){return g([e],n)},expectMessageMany:g}}}},15:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("warning","expectConsoleWarning",(function(e){jest.spyOn(console,"warn").mockImplementation(e)}));e.exports={disallowConsoleWarnings:function(){t.disallowMessages()},expectConsoleWarningWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectConsoleWarning:function(e,n){return t.expectMessage(e,n)},expectConsoleWarningsMany:function(e,n){return t.expectMessageMany(e,n)}}},377:(e,n,r)=>{var t=(0,r(193).default)(r(56));e.exports=function(e,n,o){describe.each(e)("".concat(n," - Feature flags: %o"),(function(e){var n;beforeEach((function(){var o=r(268).RelayFeatureFlags;n=(0,t.default)({},o),Object.assign(o,e)})),afterEach((function(){var e=r(268).RelayFeatureFlags;Object.assign(e,n)})),o()}))}},436:(e,n,r)=>{var t=(0,r(193).default)(r(195)),o=r(861),a=r(48),i=r(315),c=Symbol.for("FIXTURE_TAG");expect.addSnapshotSerializer({print:function(e){return Object.keys(e).map((function(n){return"~~~~~~~~~~ ".concat(n.toUpperCase()," ~~~~~~~~~~\n").concat(e[n])})).join("\n")},test:function(e){return e&&!0===e[c]}}),e.exports={generateTestsFromFixtures:function(e,n){var r=a.readdirSync(e);test("has fixtures in ".concat(e),(function(){expect(r.length>0).toBe(!0)}));var s=r.filter((function(e){return e.startsWith("only.")}));s.length&&(test.skip.each(r.filter((function(e){return!e.startsWith("only.")})))("matches expected output: %s",(function(){})),r=s),test.each(r)("matches expected output: %s",(function(r){var s,l=a.readFileSync(i.join(e,r),"utf8"),u=o(l,n,r);expect((s={},(0,t.default)(s,c,!0),(0,t.default)(s,"input",l),(0,t.default)(s,"output",u),s)).toMatchSnapshot()}))},FIXTURE_TAG:c}},861:e=>{e.exports=function(e,n,r){if(/^# *expected-to-throw/.test(e)||/\.error\.\w+$/.test(r)){var t;try{t=n(e)}catch(e){return"THROWN EXCEPTION:\n\n".concat(e.toString())}throw new Error("Expected test file '".concat(r,"' to throw, but it passed:\n").concat(t))}return n(e)}},310:(e,n,r)=>{var t=r(815),o=t.disallowConsoleErrors,a=t.expectConsoleError,i=t.expectConsoleErrorsMany,c=t.expectConsoleErrorWillFire,s=r(15),l=s.disallowConsoleWarnings,u=s.expectConsoleWarning,f=s.expectConsoleWarningsMany,p=s.expectConsoleWarningWillFire,g=r(377),x=r(436),d=x.FIXTURE_TAG,h=x.generateTestsFromFixtures,v=r(115),y=r(805),w=r(85),W=r(455),E=r(791),m=E.disallowWarnings,C=E.expectToWarn,b=E.expectToWarnMany,F=E.expectWarningWillFire,M=r(371),T=M.createMockEnvironment,j=M.unwrapContainer;e.exports={cannotReadPropertyOfUndefined__DEPRECATED:function(e){var n=process.version.match(/^v(\d+)\./),r=null==n?null:parseInt(n[1],10);return null==r||r<16?"Cannot read property '".concat(e,"' of undefined"):"Cannot read properties of undefined (reading '".concat(e,"')")},createMockEnvironment:T,describeWithFeatureFlags:g,disallowConsoleErrors:o,disallowConsoleWarnings:l,disallowWarnings:m,expectConsoleError:a,expectConsoleErrorsMany:i,expectConsoleErrorWillFire:c,expectConsoleWarningWillFire:p,expectConsoleWarning:u,expectConsoleWarningsMany:f,expectToWarn:C,expectToWarnMany:b,expectWarningWillFire:F,FIXTURE_TAG:d,generateTestsFromFixtures:h,matchers:v,printAST:y,simpleClone:w,trackRetentionForEnvironment:W,unwrapContainer:j}},805:(e,n,r)=>{var t=(0,r(193).default)(r(680));function o(e,n){switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(Array.isArray(e)){if(0===e.length)return"[]";var r,a="[\n",i=n+" ",c=(0,t.default)(e);try{for(c.s();!(r=c.n()).done;)a+=i+o(r.value,i)+",\n"}catch(e){c.e(e)}finally{c.f()}return a+(n+"]")}if("string"==typeof e.kind){for(var s="".concat(e.kind," {\n"),l=n+" ",u=0,f=Object.entries(e);u<f.length;u++){var p=f[u],g=p[0],x=p[1];"kind"!==g&&(s+="".concat(l).concat(g,": ").concat(o(x,l),",\n"))}return s+(n+"}")}if("function"==typeof e.toJSON)return o(e.toJSON(),n);for(var d="{\n",h=n+" ",v=0,y=Object.entries(e);v<y.length;v++){var w=y[v],W=w[0],E=w[1];d+="".concat(h).concat(JSON.stringify(W),": ").concat(o(E,h),",\n")}return d+(n+"}");case"string":case"number":case"boolean":return JSON.stringify(e,null,2).replace("\n","\n"+n);default:throw new Error("printAST doesn't handle values where "+"typeof value === '".concat(typeof e,"'."))}}e.exports=function(e){return o(e,"")}},85:e=>{e.exports=function e(n){if(Array.isArray(n))return n.map(e);if(null!=n&&"object"==typeof n){var r={};for(var t in n)r[t]=e(n[t]);return r}return n}},455:e=>{e.exports=function(e){var n=new Map,r=jest.fn((function(e){var r,t=null!==(r=n.get(e))&&void 0!==r?r:NaN;1===t?n.delete(e):n.set(e,t-1)}));return e.retain=jest.fn((function(e){var t,o=e.request.identifier,a=null!==(t=n.get(o))&&void 0!==t?t:0;n.set(o,a+1);var i=!1;return{dispose:function(){i||r(o),i=!0}}})),{release_DEPRECATED:r,isOperationRetained:function(e){var r,t=e.request.identifier;return(null!==(r=n.get(t))&&void 0!==r?r:0)>0}}}},791:(e,n,r)=>{var t=(0,r(489).createConsoleInterceptionSystem)("warning","expectToWarn",(function(e){jest.mock("fbjs/lib/warning",(function(){return jest.fn((function(n,r){for(var t=arguments.length,o=new Array(t>2?t-2:0),a=2;a<t;a++)o[a-2]=arguments[a];if(!n){var i=0,c=r.replace(/%s/g,(function(){return String(o[i++])}));e(c)}}))}))}));e.exports={disallowWarnings:function(){t.disallowMessages()},expectWarningWillFire:function(e,n){t.expectMessageWillFire(e,n)},expectToWarn:function(e,n){return t.expectMessage(e,n)},expectToWarnMany:function(e,n){return t.expectMessageMany(e,n)}}},680:e=>{e.exports=require("@babel/runtime/helpers/createForOfIteratorHelper")},195:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},193:e=>{e.exports=require("@babel/runtime/helpers/interopRequireDefault")},56:e=>{e.exports=require("@babel/runtime/helpers/objectSpread2")},759:e=>{e.exports=require("@babel/runtime/helpers/toConsumableArray")},520:e=>{e.exports=require("fbjs/lib/warning")},48:e=>{e.exports=require("fs")},315:e=>{e.exports=require("path")},268:e=>{e.exports=require("relay-runtime")},371:e=>{e.exports=require("relay-test-utils")}},n={},r=function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}(310);module.exports.RelayTestUtilsInternal=r})();
|