testcontainers / testcontainers-node

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.com
MIT License
1.94k stars 195 forks source link

Couchbase Initialization Not Working #826

Open joeyagreco opened 2 months ago

joeyagreco commented 2 months ago

Expected Behaviour Able to initialize Couchbase as shown in examples

import { CouchbaseContainer } from '@testcontainers/couchbase';

describe('test connection', () => {
  test('success', async () => {
    // usage shown in example here: https://testcontainers.com/modules/couchbase/
    const container1 = await new CouchbaseContainer().start();
  });
});

Additionally, these imports are not exported in the @testcontainers/couchbase npm package:

import { BucketDefinition } from "./bucket-definition";
import { CouchbaseService } from "./couchbase-service";

Environment Information

Thanks!

cristianrgreco commented 1 week ago

Good point. Looks like the Couchbase module isn't setup correctly. PR welcome