diff --git a/.travis.yml b/.travis.yml index a6c93a1..42e1137 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,11 @@ arch: amd64 cache: npm node_js: - - 12 - - 14 - 16 + - 18 + - 20 + - 22 + - 24 notifications: email: false diff --git a/test/compare-api.js b/test/compare-api.js index 9a161a0..6459ee0 100644 --- a/test/compare-api.js +++ b/test/compare-api.js @@ -18,8 +18,8 @@ describe('Compare Api Node Client live tests', function () { this.timeout(10000); before(function () { - // These credentials are for the Draftable Comparison API Test Account and can be public. - this.client = require('..').client('GOiDaN-test', 'fe055b5a54c4d58264f70050a469536e'); + // From https://api.draftable.com/account/credentials under "Account ID" + this.client = require('..').client(process.env.DRAFTABLE_ACCOUNT_ID, process.env.DRAFTABLE_AUTH_TOKEN); this.comparisons = this.client.comparisons; this.identifiers = Array.from({ length: 3 }, () => this.comparisons.generateIdentifier()); });