Skip to content

Instantly share code, notes, and snippets.

@kozo002
Created May 27, 2020 03:32
Show Gist options
  • Save kozo002/3524f2aac9c77fcac99b29aea2c136e0 to your computer and use it in GitHub Desktop.
Save kozo002/3524f2aac9c77fcac99b29aea2c136e0 to your computer and use it in GitHub Desktop.
jest.spyOn(file, 'size', 'get').mockReturnValue(10001)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment