diff --git a/src/index.spec.js b/src/index.spec.js
index <HASH>..<HASH> 100644
--- a/src/index.spec.js
+++ b/src/index.spec.js
@@ -1,7 +1,11 @@
 import pluginTester from 'babel-plugin-tester';
 import path from 'path';
+import fs from 'fs';
 import captainsLog from './index';
 
+const loadFromFile = filePath =>
+  fs.readFileSync(path.resolve(__dirname, filePath), 'utf8');
+
 pluginTester({
   plugin: captainsLog,
   snapshot: true,
@@ -76,7 +80,7 @@ pluginTester({
     `,
     {
       title: 'Method options',
-      fixture: path.resolve(__dirname, './__fixtures__/method-check/code.js'),
+      code: loadFromFile('./__fixtures__/method-check/code.js'),
       pluginOptions: {
         methods: ['debug', 'log', 'info'],
       },
chore(tests): fixed issue wtih CI built tests