);
diff --git a/services-js/access-boston/src/server/access-boston.ts b/services-js/access-boston/src/server/access-boston.ts
index 10e36e3e3..50a1149d7 100644
--- a/services-js/access-boston/src/server/access-boston.ts
+++ b/services-js/access-boston/src/server/access-boston.ts
@@ -11,7 +11,7 @@ import yar from 'yar';
import cleanup from 'node-cleanup';
import acceptLanguagePlugin from 'hapi-accept-language2';
import hapiDevErrors from 'hapi-dev-errors';
-import next from 'next';
+const next = require('next');
import { ApolloServer } from 'apollo-server-hapi';
import { parse, Compile } from 'velocityjs';
diff --git a/services-js/access-boston/src/server/start.ts b/services-js/access-boston/src/server/start.ts
index 62c9f86f6..66c790b79 100644
--- a/services-js/access-boston/src/server/start.ts
+++ b/services-js/access-boston/src/server/start.ts
@@ -6,7 +6,10 @@
*/
// We don't want any local configurations to affect the test runs
-if (process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'testcafe') {
+if (
+ process.env.NODE_ENV !== 'test' &&
+ process.env.NODE_ENV !== ('testcafe' as any)
+) {
require('dotenv').config();
}
@@ -27,3 +30,5 @@ startServer(rollbar).catch((err: Error) => {
console.error('Error starting server', err);
process.exit(1);
});
+
+export {};
diff --git a/services-js/access-boston/src/stories/__snapshots__/Storyshots.test.ts.snap b/services-js/access-boston/src/stories/__snapshots__/Storyshots.test.ts.snap
index 958508d2f..2451cd5d5 100644
--- a/services-js/access-boston/src/stories/__snapshots__/Storyshots.test.ts.snap
+++ b/services-js/access-boston/src/stories/__snapshots__/Storyshots.test.ts.snap
@@ -50,6 +50,7 @@ exports[`Storyshots AccessBostonHeader default 1`] = `