import { Test, TestingModule } from '@nestjs/testing';
import { InMemoryPersistenceModule } from './InMemoryPersistenceModule';

describe('InMemoryPersistenceModule', () => {
  let module: TestingModule;

  beforeEach(async () => {
    module = await Test.createTestingModule({
      imports: [InMemoryPersistenceModule],
    }).compile();
  });

  it('should compile the module', () => {
    expect(module).toBeDefined();
  });

  it('should import InMemoryRacingPersistenceModule', () => {
    // The module should be able to resolve dependencies from InMemoryRacingPersistenceModule
    expect(module).toBeDefined();
  });

  it('should import InMemorySocialPersistenceModule', () => {
    // The module should be able to resolve dependencies from InMemorySocialPersistenceModule
    expect(module).toBeDefined();
  });

  it('should export InMemoryRacingPersistenceModule', () => {
    // The module should export InMemoryRacingPersistenceModule
    expect(module).toBeDefined();
  });

  it('should export InMemorySocialPersistenceModule', () => {
    // The module should export InMemorySocialPersistenceModule
    expect(module).toBeDefined();
  });
});
