mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
This cuts the running time of `grunt phantom:run` from 4.4s to 3.1s on my machine, because we no longer have to load/execute a separate instance of `react-test.js` in a separate `<iframe>` for each test.
15 lines
300 B
HTML
15 lines
300 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="jasmine.css" />
|
|
<script src="jasmine.js"></script>
|
|
<script src="react-test.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
ENABLE_TESTS_HERE
|
|
jasmine.getEnv().execute();
|
|
</script>
|
|
</body>
|
|
</html>
|