testcontainers
Version:
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
23 lines • 493 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.PullPolicy = void 0;
class DefaultPullPolicy {
shouldPull() {
return false;
}
}
class AlwaysPullPolicy {
shouldPull() {
return true;
}
}
class PullPolicy {
static defaultPolicy() {
return new DefaultPullPolicy();
}
static alwaysPull() {
return new AlwaysPullPolicy();
}
}
exports.PullPolicy = PullPolicy;
//# sourceMappingURL=pull-policy.js.map
;