UNPKG

@longnc/themartec-smtpapi

Version:

Build SendGrid X-SMTPAPI headers in nodejs. And this version for upgrade some packages to latest and fix security

19 lines (16 loc) 419 B
'use strict'; /** * Dependencies */ const fs = require("fs"); const assert = require('assert'); /** * Tests */ describe('LICENSE', () => { it('should contain the current year as the end year of the license', () => { const license = fs.readFileSync(`${process.cwd()}/LICENSE`, 'utf8'); const currentYear= (new Date()).getFullYear(); return assert(license.indexOf(`${currentYear}`) !== -1); }); });