mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
checking out new stuff
This commit is contained in:
30
tests/Buffer.html
Normal file
30
tests/Buffer.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Jasmine Spec Runner: repeat</title>
|
||||
|
||||
<!-- Jasmine files -->
|
||||
<link href="../node_modules/jasmine-core/lib/jasmine-core/jasmine.css" rel="stylesheet"/>
|
||||
<script type="text/javascript" src="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
|
||||
<script type="text/javascript" src="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
|
||||
|
||||
|
||||
<!-- CUSTOMIZE: The code to be tested and the tests -->
|
||||
|
||||
<script type="text/javascript" src="../build/y.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var jasmineEnv = jasmine.getEnv();
|
||||
|
||||
window.onload = function() {
|
||||
|
||||
jasmineEnv.execute();
|
||||
};
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
8
tests/Buffer.js
Normal file
8
tests/Buffer.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/* @flow */
|
||||
/*eslint-env node, jasmine */
|
||||
|
||||
describe("A suite", function() {
|
||||
it("contains spec with an expectation", function() {
|
||||
expect(new Buffer(3)).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user