woocommerce/tests/includes/listener-loader.php

10 lines
232 B
PHP

<?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';