woocommerce/tests/includes/listener-loader.php

10 lines
232 B
PHP
Raw Normal View History

2019-07-19 01:24:40 +00:00
<?php
/**
* Listener loader.
*
* @package WooCommerce\UnitTests
*/
$wp_tests_dir = getenv( 'WP_TESTS_DIR' ) ? getenv( 'WP_TESTS_DIR' ) : '/tmp/wordpress-tests-lib';
require_once $wp_tests_dir . '/includes/listener-loader.php';