Test2::Tools::HTTP::UA::Mojo - Mojo user agent wrapper for Test2::Tools::HTTP
version 0.05
use Test2::Tools::HTTP; use Mojo::UserAgent; http_ua( Mojo::UserAgent->new ) http_request( GET('http://example.test'), http_response { http_code 200; http_response match qr/something/; ... } );; done_testing;
This module is a user agent wrapper for Test2::Tools::HTTP that allows you to use Mojo::UserAgent as a user agent for testing.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2018-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.