@bernierllc/email-testing-suite 0.7.11 → 0.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/dist/analytics.d.ts +0 -52
- package/dist/analytics.d.ts.map +0 -1
- package/dist/analytics.js +0 -211
- package/dist/analytics.js.map +0 -1
- package/dist/best-practices.d.ts +0 -34
- package/dist/best-practices.d.ts.map +0 -1
- package/dist/best-practices.js +0 -268
- package/dist/best-practices.js.map +0 -1
- package/dist/email-testing-suite.d.ts +0 -74
- package/dist/email-testing-suite.d.ts.map +0 -1
- package/dist/email-testing-suite.js +0 -424
- package/dist/email-testing-suite.js.map +0 -1
- package/dist/errors.d.ts +0 -12
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -25
- package/dist/errors.js.map +0 -1
- package/dist/feature-test-helpers.d.ts +0 -204
- package/dist/feature-test-helpers.d.ts.map +0 -1
- package/dist/feature-test-helpers.js +0 -375
- package/dist/feature-test-helpers.js.map +0 -1
- package/dist/index.d.ts +0 -14
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -49
- package/dist/index.js.map +0 -1
- package/dist/test-patterns.d.ts +0 -48
- package/dist/test-patterns.d.ts.map +0 -1
- package/dist/test-patterns.js +0 -132
- package/dist/test-patterns.js.map +0 -1
- package/dist/types.d.ts +0 -258
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -10
- package/dist/types.js.map +0 -1
package/dist/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
Copyright (c) 2025 Bernier LLC
|
|
4
|
-
|
|
5
|
-
This file is licensed to the client under a limited-use license.
|
|
6
|
-
The client may use and modify this code *only within the scope of the project it was delivered for*.
|
|
7
|
-
Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.assertAttachmentSize = exports.assertValidAttachment = exports.createMockAttachment = exports.assertHasMdnRequestHeader = exports.assertHasListUnsubscribeHeaders = exports.assertHasThreadingHeaders = exports.assertSuppressed = exports.assertSubscriptionActive = exports.createMockSubscriber = exports.createMockSubscriberList = exports.assertBatchResult = exports.createMockBatchEmails = exports.assertCalendarInviteEmail = exports.assertValidIcsContent = exports.createMockCalendarEvent = exports.BestPracticesValidator = exports.EmailTestAnalytics = exports.EmailTestPatterns = exports.testEmail = exports.EmailTestingSuiteError = exports.EmailTestingSuite = void 0;
|
|
11
|
-
/**
|
|
12
|
-
* @bernierllc/email-testing-suite
|
|
13
|
-
*
|
|
14
|
-
* Complete email testing solution with opinionated defaults and best practices
|
|
15
|
-
*/
|
|
16
|
-
var email_testing_suite_1 = require("./email-testing-suite");
|
|
17
|
-
Object.defineProperty(exports, "EmailTestingSuite", { enumerable: true, get: function () { return email_testing_suite_1.EmailTestingSuite; } });
|
|
18
|
-
var errors_1 = require("./errors");
|
|
19
|
-
Object.defineProperty(exports, "EmailTestingSuiteError", { enumerable: true, get: function () { return errors_1.EmailTestingSuiteError; } });
|
|
20
|
-
var test_patterns_1 = require("./test-patterns");
|
|
21
|
-
Object.defineProperty(exports, "testEmail", { enumerable: true, get: function () { return test_patterns_1.testEmail; } });
|
|
22
|
-
Object.defineProperty(exports, "EmailTestPatterns", { enumerable: true, get: function () { return test_patterns_1.EmailTestPatterns; } });
|
|
23
|
-
var analytics_1 = require("./analytics");
|
|
24
|
-
Object.defineProperty(exports, "EmailTestAnalytics", { enumerable: true, get: function () { return analytics_1.EmailTestAnalytics; } });
|
|
25
|
-
var best_practices_1 = require("./best-practices");
|
|
26
|
-
Object.defineProperty(exports, "BestPracticesValidator", { enumerable: true, get: function () { return best_practices_1.BestPracticesValidator; } });
|
|
27
|
-
// Feature test helpers for calendar, batch, subscription, headers, attachments
|
|
28
|
-
var feature_test_helpers_1 = require("./feature-test-helpers");
|
|
29
|
-
// Calendar helpers
|
|
30
|
-
Object.defineProperty(exports, "createMockCalendarEvent", { enumerable: true, get: function () { return feature_test_helpers_1.createMockCalendarEvent; } });
|
|
31
|
-
Object.defineProperty(exports, "assertValidIcsContent", { enumerable: true, get: function () { return feature_test_helpers_1.assertValidIcsContent; } });
|
|
32
|
-
Object.defineProperty(exports, "assertCalendarInviteEmail", { enumerable: true, get: function () { return feature_test_helpers_1.assertCalendarInviteEmail; } });
|
|
33
|
-
// Batch helpers
|
|
34
|
-
Object.defineProperty(exports, "createMockBatchEmails", { enumerable: true, get: function () { return feature_test_helpers_1.createMockBatchEmails; } });
|
|
35
|
-
Object.defineProperty(exports, "assertBatchResult", { enumerable: true, get: function () { return feature_test_helpers_1.assertBatchResult; } });
|
|
36
|
-
// Subscription helpers
|
|
37
|
-
Object.defineProperty(exports, "createMockSubscriberList", { enumerable: true, get: function () { return feature_test_helpers_1.createMockSubscriberList; } });
|
|
38
|
-
Object.defineProperty(exports, "createMockSubscriber", { enumerable: true, get: function () { return feature_test_helpers_1.createMockSubscriber; } });
|
|
39
|
-
Object.defineProperty(exports, "assertSubscriptionActive", { enumerable: true, get: function () { return feature_test_helpers_1.assertSubscriptionActive; } });
|
|
40
|
-
Object.defineProperty(exports, "assertSuppressed", { enumerable: true, get: function () { return feature_test_helpers_1.assertSuppressed; } });
|
|
41
|
-
// Header helpers
|
|
42
|
-
Object.defineProperty(exports, "assertHasThreadingHeaders", { enumerable: true, get: function () { return feature_test_helpers_1.assertHasThreadingHeaders; } });
|
|
43
|
-
Object.defineProperty(exports, "assertHasListUnsubscribeHeaders", { enumerable: true, get: function () { return feature_test_helpers_1.assertHasListUnsubscribeHeaders; } });
|
|
44
|
-
Object.defineProperty(exports, "assertHasMdnRequestHeader", { enumerable: true, get: function () { return feature_test_helpers_1.assertHasMdnRequestHeader; } });
|
|
45
|
-
// Attachment helpers
|
|
46
|
-
Object.defineProperty(exports, "createMockAttachment", { enumerable: true, get: function () { return feature_test_helpers_1.createMockAttachment; } });
|
|
47
|
-
Object.defineProperty(exports, "assertValidAttachment", { enumerable: true, get: function () { return feature_test_helpers_1.assertValidAttachment; } });
|
|
48
|
-
Object.defineProperty(exports, "assertAttachmentSize", { enumerable: true, get: function () { return feature_test_helpers_1.assertAttachmentSize; } });
|
|
49
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;EAME;;;AAEF;;;;GAIG;AAEH,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,mCAAuH;AAA9G,gHAAA,sBAAsB,OAAA;AAC/B,iDAA+D;AAAtD,0GAAA,SAAS,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AACrC,yCAAiD;AAAxC,+GAAA,kBAAkB,OAAA;AAC3B,mDAA0D;AAAjD,wHAAA,sBAAsB,OAAA;AAE/B,+EAA+E;AAC/E,+DAqBgC;AApB9B,mBAAmB;AACnB,+HAAA,uBAAuB,OAAA;AACvB,6HAAA,qBAAqB,OAAA;AACrB,iIAAA,yBAAyB,OAAA;AACzB,gBAAgB;AAChB,6HAAA,qBAAqB,OAAA;AACrB,yHAAA,iBAAiB,OAAA;AACjB,uBAAuB;AACvB,gIAAA,wBAAwB,OAAA;AACxB,4HAAA,oBAAoB,OAAA;AACpB,gIAAA,wBAAwB,OAAA;AACxB,wHAAA,gBAAgB,OAAA;AAChB,iBAAiB;AACjB,iIAAA,yBAAyB,OAAA;AACzB,uIAAA,+BAA+B,OAAA;AAC/B,iIAAA,yBAAyB,OAAA;AACzB,qBAAqB;AACrB,4HAAA,oBAAoB,OAAA;AACpB,6HAAA,qBAAqB,OAAA;AACrB,4HAAA,oBAAoB,OAAA"}
|
package/dist/test-patterns.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { SimpleEmailTest, EmailTestResult } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* One-line email testing helper
|
|
4
|
-
*
|
|
5
|
-
* Simplest possible email testing with opinionated defaults
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import { testEmail } from '@bernierllc/email-testing-suite';
|
|
10
|
-
*
|
|
11
|
-
* const result = await testEmail({
|
|
12
|
-
* template: './templates/welcome.html',
|
|
13
|
-
* data: { name: 'John Doe' },
|
|
14
|
-
* recipient: 'test@example.com'
|
|
15
|
-
* });
|
|
16
|
-
*
|
|
17
|
-
* expect(result.success).toBe(true);
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare function testEmail(spec: SimpleEmailTest): Promise<EmailTestResult>;
|
|
21
|
-
/**
|
|
22
|
-
* Pre-configured test patterns for common scenarios
|
|
23
|
-
*/
|
|
24
|
-
export declare class EmailTestPatterns {
|
|
25
|
-
/**
|
|
26
|
-
* Test welcome email template
|
|
27
|
-
*/
|
|
28
|
-
static testWelcomeEmail(template: string, userData: {
|
|
29
|
-
name: string;
|
|
30
|
-
email: string;
|
|
31
|
-
}): Promise<EmailTestResult>;
|
|
32
|
-
/**
|
|
33
|
-
* Test password reset email
|
|
34
|
-
*/
|
|
35
|
-
static testPasswordResetEmail(template: string, userData: {
|
|
36
|
-
email: string;
|
|
37
|
-
resetLink: string;
|
|
38
|
-
}): Promise<EmailTestResult>;
|
|
39
|
-
/**
|
|
40
|
-
* Test newsletter template
|
|
41
|
-
*/
|
|
42
|
-
static testNewsletterEmail(template: string, content: Record<string, any>, recipient: string): Promise<EmailTestResult>;
|
|
43
|
-
/**
|
|
44
|
-
* Test transactional email
|
|
45
|
-
*/
|
|
46
|
-
static testTransactionalEmail(template: string, orderData: Record<string, any>, recipient: string): Promise<EmailTestResult>;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=test-patterns.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-patterns.d.ts","sourceRoot":"","sources":["../src/test-patterns.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CA0B/E;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B;;OAEG;WACU,gBAAgB,CAC3B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GACxC,OAAO,CAAC,eAAe,CAAC;IAc3B;;OAEG;WACU,sBAAsB,CACjC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAC7C,OAAO,CAAC,eAAe,CAAC;IAc3B;;OAEG;WACU,mBAAmB,CAC9B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,eAAe,CAAC;IAiB3B;;OAEG;WACU,sBAAsB,CACjC,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,eAAe,CAAC;CAgB5B"}
|
package/dist/test-patterns.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
Copyright (c) 2025 Bernier LLC
|
|
4
|
-
|
|
5
|
-
This file is licensed to the client under a limited-use license.
|
|
6
|
-
The client may use and modify this code *only within the scope of the project it was delivered for*.
|
|
7
|
-
Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.EmailTestPatterns = void 0;
|
|
11
|
-
exports.testEmail = testEmail;
|
|
12
|
-
const email_testing_suite_1 = require("./email-testing-suite");
|
|
13
|
-
/**
|
|
14
|
-
* One-line email testing helper
|
|
15
|
-
*
|
|
16
|
-
* Simplest possible email testing with opinionated defaults
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { testEmail } from '@bernierllc/email-testing-suite';
|
|
21
|
-
*
|
|
22
|
-
* const result = await testEmail({
|
|
23
|
-
* template: './templates/welcome.html',
|
|
24
|
-
* data: { name: 'John Doe' },
|
|
25
|
-
* recipient: 'test@example.com'
|
|
26
|
-
* });
|
|
27
|
-
*
|
|
28
|
-
* expect(result.success).toBe(true);
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
async function testEmail(spec) {
|
|
32
|
-
const suite = new email_testing_suite_1.EmailTestingSuite({
|
|
33
|
-
defaults: {
|
|
34
|
-
compliance: spec.expectations?.compliance || 'US',
|
|
35
|
-
timeout: 30000,
|
|
36
|
-
retries: 3,
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
await suite.start();
|
|
40
|
-
try {
|
|
41
|
-
const result = await suite.testEmailTemplate({
|
|
42
|
-
name: 'Simple Email Test',
|
|
43
|
-
template: spec.template,
|
|
44
|
-
data: spec.data,
|
|
45
|
-
recipients: [spec.recipient],
|
|
46
|
-
expectations: spec.expectations,
|
|
47
|
-
});
|
|
48
|
-
await suite.stop();
|
|
49
|
-
return result;
|
|
50
|
-
}
|
|
51
|
-
catch (error) {
|
|
52
|
-
await suite.stop();
|
|
53
|
-
throw error;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Pre-configured test patterns for common scenarios
|
|
58
|
-
*/
|
|
59
|
-
class EmailTestPatterns {
|
|
60
|
-
/**
|
|
61
|
-
* Test welcome email template
|
|
62
|
-
*/
|
|
63
|
-
static async testWelcomeEmail(template, userData) {
|
|
64
|
-
return testEmail({
|
|
65
|
-
template,
|
|
66
|
-
data: userData,
|
|
67
|
-
recipient: userData.email,
|
|
68
|
-
expectations: {
|
|
69
|
-
delivery: true,
|
|
70
|
-
templateCompletion: true,
|
|
71
|
-
compliance: 'US',
|
|
72
|
-
accessibility: true,
|
|
73
|
-
},
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Test password reset email
|
|
78
|
-
*/
|
|
79
|
-
static async testPasswordResetEmail(template, userData) {
|
|
80
|
-
return testEmail({
|
|
81
|
-
template,
|
|
82
|
-
data: userData,
|
|
83
|
-
recipient: userData.email,
|
|
84
|
-
expectations: {
|
|
85
|
-
delivery: true,
|
|
86
|
-
templateCompletion: true,
|
|
87
|
-
compliance: 'GLOBAL',
|
|
88
|
-
accessibility: true,
|
|
89
|
-
},
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Test newsletter template
|
|
94
|
-
*/
|
|
95
|
-
static async testNewsletterEmail(template, content, recipient) {
|
|
96
|
-
return testEmail({
|
|
97
|
-
template,
|
|
98
|
-
data: content,
|
|
99
|
-
recipient,
|
|
100
|
-
expectations: {
|
|
101
|
-
delivery: true,
|
|
102
|
-
templateCompletion: true,
|
|
103
|
-
compliance: 'US',
|
|
104
|
-
accessibility: true,
|
|
105
|
-
performance: {
|
|
106
|
-
size: '200kb',
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Test transactional email
|
|
113
|
-
*/
|
|
114
|
-
static async testTransactionalEmail(template, orderData, recipient) {
|
|
115
|
-
return testEmail({
|
|
116
|
-
template,
|
|
117
|
-
data: orderData,
|
|
118
|
-
recipient,
|
|
119
|
-
expectations: {
|
|
120
|
-
delivery: true,
|
|
121
|
-
templateCompletion: true,
|
|
122
|
-
compliance: 'GLOBAL',
|
|
123
|
-
accessibility: false, // Transactional emails may have relaxed accessibility
|
|
124
|
-
performance: {
|
|
125
|
-
deliveryTime: 2000, // Fast delivery critical for transactional
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
exports.EmailTestPatterns = EmailTestPatterns;
|
|
132
|
-
//# sourceMappingURL=test-patterns.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-patterns.js","sourceRoot":"","sources":["../src/test-patterns.ts"],"names":[],"mappings":";AAAA;;;;;;EAME;;;AAuBF,8BA0BC;AA/CD,+DAA0D;AAG1D;;;;;;;;;;;;;;;;;GAiBG;AACI,KAAK,UAAU,SAAS,CAAC,IAAqB;IACnD,MAAM,KAAK,GAAG,IAAI,uCAAiB,CAAC;QAClC,QAAQ,EAAE;YACR,UAAU,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,IAAI,IAAI;YACjD,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,CAAC;SACX;KACF,CAAC,CAAC;IAEH,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IAEpB,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,iBAAiB,CAAC;YAC3C,IAAI,EAAE,mBAAmB;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC;YAC5B,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC,CAAC;QAEH,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAa,iBAAiB;IAC5B;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAC3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B,aAAa,EAAE,KAAK,EAAE,sDAAsD;gBAC5E,WAAW,EAAE;oBACX,YAAY,EAAE,IAAI,EAAE,2CAA2C;iBAChE;aACF;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAxFD,8CAwFC"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Email Testing Suite Types
|
|
3
|
-
*/
|
|
4
|
-
export interface EmailTestingSuiteConfig {
|
|
5
|
-
smtp?: SMTPConfig;
|
|
6
|
-
defaults?: DefaultsConfig;
|
|
7
|
-
validation?: ValidationConfig;
|
|
8
|
-
reporting?: ReportingConfig;
|
|
9
|
-
integrations?: IntegrationsConfig;
|
|
10
|
-
}
|
|
11
|
-
export interface SMTPConfig {
|
|
12
|
-
port: number;
|
|
13
|
-
host: string;
|
|
14
|
-
auth?: SMTPAuth;
|
|
15
|
-
}
|
|
16
|
-
export interface SMTPAuth {
|
|
17
|
-
user: string;
|
|
18
|
-
pass: string;
|
|
19
|
-
}
|
|
20
|
-
export interface DefaultsConfig {
|
|
21
|
-
compliance: 'US' | 'EU' | 'GLOBAL';
|
|
22
|
-
timeout: number;
|
|
23
|
-
retries: number;
|
|
24
|
-
expectations?: Partial<EmailExpectations>;
|
|
25
|
-
}
|
|
26
|
-
export interface ValidationConfig {
|
|
27
|
-
enabledValidators?: ValidatorType[];
|
|
28
|
-
strictMode?: boolean;
|
|
29
|
-
customRules?: ValidationRule[];
|
|
30
|
-
}
|
|
31
|
-
export type ValidatorType = 'template' | 'compliance' | 'accessibility' | 'performance' | 'security';
|
|
32
|
-
export interface ValidationRule {
|
|
33
|
-
name: string;
|
|
34
|
-
validator: (_email: EmailData) => boolean;
|
|
35
|
-
severity: 'error' | 'warning' | 'info';
|
|
36
|
-
message: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ReportingConfig {
|
|
39
|
-
enableAnalytics?: boolean;
|
|
40
|
-
generateTrendReports?: boolean;
|
|
41
|
-
exportFormats?: ReportFormat[];
|
|
42
|
-
retainHistory?: number;
|
|
43
|
-
}
|
|
44
|
-
export type ReportFormat = 'html' | 'pdf' | 'json' | 'csv';
|
|
45
|
-
export interface IntegrationsConfig {
|
|
46
|
-
frameworks?: TestFramework[];
|
|
47
|
-
webhooks?: WebhookConfig[];
|
|
48
|
-
notifications?: NotificationConfig;
|
|
49
|
-
}
|
|
50
|
-
export type TestFramework = 'jest' | 'mocha' | 'vitest' | 'playwright';
|
|
51
|
-
export interface WebhookConfig {
|
|
52
|
-
url: string;
|
|
53
|
-
events: string[];
|
|
54
|
-
headers?: Record<string, string>;
|
|
55
|
-
}
|
|
56
|
-
export interface NotificationConfig {
|
|
57
|
-
enabled: boolean;
|
|
58
|
-
channels?: ('email' | 'slack' | 'webhook')[];
|
|
59
|
-
recipients?: string[];
|
|
60
|
-
}
|
|
61
|
-
export interface EmailTemplateTest {
|
|
62
|
-
name: string;
|
|
63
|
-
template: string | TemplateSource;
|
|
64
|
-
data: Record<string, any>;
|
|
65
|
-
recipients: string[];
|
|
66
|
-
expectations?: Partial<EmailExpectations>;
|
|
67
|
-
}
|
|
68
|
-
export interface TemplateSource {
|
|
69
|
-
path?: string;
|
|
70
|
-
content?: string;
|
|
71
|
-
type?: 'html' | 'text' | 'liquid' | 'handlebars';
|
|
72
|
-
}
|
|
73
|
-
export interface EmailExpectations {
|
|
74
|
-
delivery: boolean;
|
|
75
|
-
templateCompletion: boolean;
|
|
76
|
-
compliance: 'US' | 'EU' | 'GLOBAL';
|
|
77
|
-
accessibility: boolean;
|
|
78
|
-
performance: PerformanceThresholds;
|
|
79
|
-
}
|
|
80
|
-
export interface PerformanceThresholds {
|
|
81
|
-
renderTime?: number;
|
|
82
|
-
size?: string;
|
|
83
|
-
deliveryTime?: number;
|
|
84
|
-
}
|
|
85
|
-
export interface EmailFlowTest {
|
|
86
|
-
name: string;
|
|
87
|
-
steps: EmailFlowStep[];
|
|
88
|
-
assertions: FlowAssertion[];
|
|
89
|
-
}
|
|
90
|
-
export interface EmailFlowStep {
|
|
91
|
-
trigger: string;
|
|
92
|
-
template: string;
|
|
93
|
-
delay: number;
|
|
94
|
-
data?: Record<string, any>;
|
|
95
|
-
}
|
|
96
|
-
export interface FlowAssertion {
|
|
97
|
-
step: number;
|
|
98
|
-
assertion: string;
|
|
99
|
-
expected?: any;
|
|
100
|
-
}
|
|
101
|
-
export type EmailTest = EmailTemplateTest | EmailFlowTest;
|
|
102
|
-
export interface SimpleEmailTest {
|
|
103
|
-
template: string;
|
|
104
|
-
data: Record<string, any>;
|
|
105
|
-
recipient: string;
|
|
106
|
-
expectations?: Partial<EmailExpectations>;
|
|
107
|
-
}
|
|
108
|
-
export interface EmailTestResult {
|
|
109
|
-
success: boolean;
|
|
110
|
-
score: number;
|
|
111
|
-
testName: string;
|
|
112
|
-
timestamp: string;
|
|
113
|
-
duration: number;
|
|
114
|
-
validations: ValidationResult[];
|
|
115
|
-
email?: EmailData;
|
|
116
|
-
errors?: string[];
|
|
117
|
-
}
|
|
118
|
-
export interface ValidationResult {
|
|
119
|
-
validator: string;
|
|
120
|
-
passed: boolean;
|
|
121
|
-
score: number;
|
|
122
|
-
details?: string;
|
|
123
|
-
errors?: string[];
|
|
124
|
-
warnings?: string[];
|
|
125
|
-
}
|
|
126
|
-
export interface EmailFlowResult {
|
|
127
|
-
success: boolean;
|
|
128
|
-
flowName: string;
|
|
129
|
-
timestamp: string;
|
|
130
|
-
duration: number;
|
|
131
|
-
steps: StepResult[];
|
|
132
|
-
assertions: AssertionResult[];
|
|
133
|
-
errors?: string[];
|
|
134
|
-
}
|
|
135
|
-
export interface StepResult {
|
|
136
|
-
stepNumber: number;
|
|
137
|
-
trigger: string;
|
|
138
|
-
success: boolean;
|
|
139
|
-
duration: number;
|
|
140
|
-
email?: EmailData;
|
|
141
|
-
error?: string;
|
|
142
|
-
}
|
|
143
|
-
export interface AssertionResult {
|
|
144
|
-
assertion: string;
|
|
145
|
-
passed: boolean;
|
|
146
|
-
actual?: any;
|
|
147
|
-
expected?: any;
|
|
148
|
-
message?: string;
|
|
149
|
-
}
|
|
150
|
-
export interface EmailSuiteResult {
|
|
151
|
-
success: boolean;
|
|
152
|
-
totalTests: number;
|
|
153
|
-
passedTests: number;
|
|
154
|
-
failedTests: number;
|
|
155
|
-
duration: number;
|
|
156
|
-
timestamp: string;
|
|
157
|
-
results: EmailTestResult[];
|
|
158
|
-
summary: TestSummary;
|
|
159
|
-
}
|
|
160
|
-
export interface TestSummary {
|
|
161
|
-
averageScore: number;
|
|
162
|
-
complianceRate: number;
|
|
163
|
-
performanceMetrics: PerformanceMetrics;
|
|
164
|
-
commonIssues: IssueCount[];
|
|
165
|
-
}
|
|
166
|
-
export interface PerformanceMetrics {
|
|
167
|
-
averageRenderTime: number;
|
|
168
|
-
averageDeliveryTime: number;
|
|
169
|
-
averageSize: number;
|
|
170
|
-
}
|
|
171
|
-
export interface IssueCount {
|
|
172
|
-
issue: string;
|
|
173
|
-
count: number;
|
|
174
|
-
severity: 'error' | 'warning' | 'info';
|
|
175
|
-
}
|
|
176
|
-
export interface EmailData {
|
|
177
|
-
from: string;
|
|
178
|
-
to: string[];
|
|
179
|
-
subject: string;
|
|
180
|
-
html?: string;
|
|
181
|
-
text?: string;
|
|
182
|
-
headers?: Record<string, string>;
|
|
183
|
-
attachments?: EmailAttachment[];
|
|
184
|
-
size?: number;
|
|
185
|
-
timestamp?: string;
|
|
186
|
-
}
|
|
187
|
-
export interface EmailAttachment {
|
|
188
|
-
filename: string;
|
|
189
|
-
content: Buffer | string;
|
|
190
|
-
contentType?: string;
|
|
191
|
-
size?: number;
|
|
192
|
-
}
|
|
193
|
-
export interface TestingEnvironment {
|
|
194
|
-
smtpServer: {
|
|
195
|
-
host: string;
|
|
196
|
-
port: number;
|
|
197
|
-
running: boolean;
|
|
198
|
-
};
|
|
199
|
-
capturedEmails: EmailData[];
|
|
200
|
-
config: EmailTestingSuiteConfig;
|
|
201
|
-
}
|
|
202
|
-
export interface DataSchema {
|
|
203
|
-
[key: string]: SchemaField;
|
|
204
|
-
}
|
|
205
|
-
export interface SchemaField {
|
|
206
|
-
type: 'string' | 'number' | 'boolean' | 'date' | 'email' | 'url' | 'uuid';
|
|
207
|
-
required?: boolean;
|
|
208
|
-
default?: any;
|
|
209
|
-
pattern?: string;
|
|
210
|
-
min?: number;
|
|
211
|
-
max?: number;
|
|
212
|
-
}
|
|
213
|
-
export interface AnalyticsData {
|
|
214
|
-
period: string;
|
|
215
|
-
testCount: number;
|
|
216
|
-
successRate: number;
|
|
217
|
-
trends: TrendData[];
|
|
218
|
-
topIssues: IssueCount[];
|
|
219
|
-
performanceMetrics: PerformanceMetrics;
|
|
220
|
-
}
|
|
221
|
-
export interface TrendData {
|
|
222
|
-
date: string;
|
|
223
|
-
successRate: number;
|
|
224
|
-
testCount: number;
|
|
225
|
-
averageScore: number;
|
|
226
|
-
}
|
|
227
|
-
export interface ReportOptions {
|
|
228
|
-
period: string;
|
|
229
|
-
includeComparisons?: boolean;
|
|
230
|
-
includeRecommendations?: boolean;
|
|
231
|
-
formats: ReportFormat[];
|
|
232
|
-
}
|
|
233
|
-
export interface Report {
|
|
234
|
-
title: string;
|
|
235
|
-
period: string;
|
|
236
|
-
generatedAt: string;
|
|
237
|
-
summary: TestSummary;
|
|
238
|
-
analytics?: AnalyticsData;
|
|
239
|
-
recommendations?: Recommendation[];
|
|
240
|
-
exportData?: any;
|
|
241
|
-
}
|
|
242
|
-
export interface Recommendation {
|
|
243
|
-
category: string;
|
|
244
|
-
priority: 'high' | 'medium' | 'low';
|
|
245
|
-
title: string;
|
|
246
|
-
description: string;
|
|
247
|
-
action?: string;
|
|
248
|
-
}
|
|
249
|
-
export interface ExportOptions {
|
|
250
|
-
format: 'csv' | 'json' | 'xml';
|
|
251
|
-
includeRawEmails?: boolean;
|
|
252
|
-
anonymizeData?: boolean;
|
|
253
|
-
dateRange?: {
|
|
254
|
-
start: string;
|
|
255
|
-
end: string;
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAQA;;GAEG;AAGH,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;CAChC;AAED,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,YAAY,GACZ,eAAe,GACf,aAAa,GACb,UAAU,CAAC;AAEf,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC;IAC1C,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACvC,OAAO,EAA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,CAAC;IACrB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,UAAU,CAAC,EAAE,GAAG,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH"}
|
package/dist/types.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
Copyright (c) 2025 Bernier LLC
|
|
4
|
-
|
|
5
|
-
This file is licensed to the client under a limited-use license.
|
|
6
|
-
The client may use and modify this code *only within the scope of the project it was delivered for*.
|
|
7
|
-
Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;;EAME"}
|