Skip to content
Snippets Groups Projects
Commit dd9369d3 authored by totten's avatar totten
Browse files

(NFC) JSTest - Speed up ~60%

Before: On local i3-12100, takes ~34s (avg over two runs)

After: On local i3-12100, take ~14s (avg over two runs)
parent 5ddab1b9
Branches
Tags
No related merge requests found
......@@ -15,6 +15,14 @@
*/
class CRM_Utils_JSTest extends CiviUnitTestCase {
/**
* Set up for tests.
*/
public function setUp(): void {
$this->useTransaction();
parent::setUp();
}
/**
* @return array
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment