BREAKING CHANGE(structure): renamed classes to avoid confusion
This commit is contained in:
@ -26,7 +26,7 @@ tap.test('should create a valid instance of SmartAcme', async () => {
|
||||
},
|
||||
environment: 'integration',
|
||||
});
|
||||
await smartAcmeInstance.init();
|
||||
await smartAcmeInstance.start();
|
||||
});
|
||||
|
||||
tap.test('should get a domain certificate', async () => {
|
||||
@ -36,7 +36,7 @@ tap.test('should get a domain certificate', async () => {
|
||||
|
||||
tap.test('certmatcher should correctly match domains', async () => {
|
||||
const certMatcherMod = await import('../ts/smartacme.classes.certmatcher.js');
|
||||
const certMatcher = new certMatcherMod.CertMatcher();
|
||||
const certMatcher = new certMatcherMod.SmartacmeCertMatcher();
|
||||
const matchedCert = certMatcher.getCertificateDomainNameByDomainName('level3.level2.level1');
|
||||
expect(matchedCert).toEqual('level2.level1');
|
||||
});
|
||||
|
Reference in New Issue
Block a user