1 2 3 4 5 6 7 8 | 18x 112x | /** * Apollo-client adds Symbols to the data in the store. In order to make * assertions in our tests easier we strip these Symbols from the data. */ export default function stripSymbols<T>(data: T): T { return JSON.parse(JSON.stringify(data)); } |