How to use the jest-serializer.writeFileSync function in jest-serializer

To help you get started, we’ve selected a few jest-serializer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebook / metro / packages / metro-cache / src / stores / PersistedMapStore.js View on Github external
_store() {
    serializer.writeFileSync(this._path, this._map);
    this._timeout = null;
  }
}

jest-serializer

> DEPRECATED: Use `v8` APIs directly: https://nodejs.org/api/v8.html#serialization-api

MIT
Latest version published 2 years ago

Package Health Score

72 / 100
Full package analysis

Similar packages