The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use warnings;

use lib 't/lib';

use Fey::Test;
use Test::More;

unless (
    eval {
        require Test::Memory::Cycle;
        Test::Memory::Cycle->import();
        1;
    }
    ) {
    plan skip_all => 'These tests require Test::Memory::Cycle.';
    exit;
}


memory_cycle_ok(
    Fey::Test->mock_test_schema(),
    'Make sure schema object does not have circular refs'
);

done_testing();