angular-cn/public/docs/_examples/testing/ts/unit-tests-0.html

29 lines
876 B
HTML

<!-- #docregion -->
<!-- #docplaster -->
<!-- #docregion no-script -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Ng App Unit Tests</title>
<link rel="stylesheet" href="../node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
<script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
<script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
<script src="../node_modules/jasmine-core/lib/jasmine-core/boot.js"></script>
</head>
<!-- #docregion body -->
<body>
<!-- #enddocregion no-script -->
<!-- Unit Testing Chapter #1: Proof of life. -->
<script>
it('true is true', function(){ expect(true).toEqual(true); });
</script>
<!-- #docregion no-script -->
</body>
<!-- #enddocregion body -->
</html>
<!-- #enddocregion no-script -->