Skip to content

Commit d21897d

Browse files
Copilottaylortom
andcommitted
Improve test names to accurately reflect what is being tested
Co-authored-by: taylortom <1059083+taylortom@users.noreply.github.com>
1 parent bcf8ba1 commit d21897d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/AbstractMailTransport.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('AbstractMailTransport', () => {
1515
})
1616

1717
describe('module structure', () => {
18-
it('should have valid JavaScript syntax', () => {
18+
it('should contain AbstractMailTransport class definition', () => {
1919
assert.ok(content.length > 0)
2020
assert.ok(content.includes('class AbstractMailTransport'))
2121
})

tests/FilesystemTransport.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('FilesystemTransport', () => {
1515
})
1616

1717
describe('module structure', () => {
18-
it('should have valid JavaScript syntax', () => {
18+
it('should contain FilesystemTransport class definition', () => {
1919
assert.ok(content.length > 0)
2020
assert.ok(content.includes('class FilesystemTransport'))
2121
})

tests/MailerModule.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('MailerModule', () => {
1515
})
1616

1717
describe('module structure', () => {
18-
it('should have valid JavaScript syntax', () => {
18+
it('should contain MailerModule class definition', () => {
1919
assert.ok(content.length > 0)
2020
assert.ok(content.includes('class MailerModule'))
2121
})

tests/SmtpTransport.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('SmtpTransport', () => {
1515
})
1616

1717
describe('module structure', () => {
18-
it('should have valid JavaScript syntax', () => {
18+
it('should contain SmtpTransport class definition', () => {
1919
assert.ok(content.length > 0)
2020
assert.ok(content.includes('class SmtpTransport'))
2121
})

0 commit comments

Comments
 (0)