浏览代码

removed asyncTest because it is depreceated

Daniel 9 年之前
父节点
当前提交
deb037ec8b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      test/unit/editor/TestSerialization.js

+ 3 - 2
test/unit/editor/TestSerialization.js

@@ -1,13 +1,14 @@
 module( "Serialization" );
 
-asyncTest( "Test Serialization", function() {
+test( "Test Serialization", function( assert ) {
 
 	// setup
 	var editor = new Editor();
+	var done = assert.async();
 	editor.storage.init( function () {
 
 		performTests();
-		start(); // continue running other tests
+		done(); // continue running other tests
 
 	} );