Procházet zdrojové kódy

removed asyncTest because it is depreceated

Daniel před 10 roky
rodič
revize
deb037ec8b
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  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
 
 	} );