diff --git a/test/node_compatibility/index.js b/test/node_compatibility/index.js index d2d992c6..73711c1f 100644 --- a/test/node_compatibility/index.js +++ b/test/node_compatibility/index.js @@ -1,7 +1,11 @@ +const dotenv = require('dotenv'); + +dotenv.config(); + const EasyPostClient = require('../..'); const test = async () => { - const apiKey = 'EZTK0e95f038c18f432fbc50f84855dc20c61QV0fkCenM1PlD8dAvgo0A'; + const apiKey = process.env.EASYPOST_TEST_API_KEY; const client = new EasyPostClient(apiKey); const shipment = await client.Shipment.create({