1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 function registerHooks(api) {
8 function testDone(runNextTest) {
9 // Use setTimeout here to allow previous test contexts to be
10 // eligible for garbage collection.
11 setTimeout(runNextTest, 0);
14 exports.registerHooks = registerHooks;
15 exports.testDone = testDone;