Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

mroderick/sinon-issue-1143

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinon-issue-1143

TypeError when requiring sinon in React Native 0.32.0

Reproduce

git clone git@github.com:mroderick/sinon-issue-1143.git
cd sinon-issue-1143
npm install
npm test

This causes

TypeError: Date is not a constructor

    at new MessageQueue (node_modules/react-native/Libraries/Utilities/MessageQueue.js:62:26)
    at Object.<anonymous> (node_modules/react-native/Libraries/BatchedBridge/BatchedBridge.js:17:19)
    at Object.<anonymous> (node_modules/react-native/Libraries/Utilities/RCTLog.js:14:19)
    at setUpConsole (node_modules/react-native/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js:54:1)

About

Reduced test case for Sinon issue 1143

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •