diff --git a/test/configCases/plugins/provide-plugin/index.js b/test/configCases/plugins/provide-plugin/index.js
index <HASH>..<HASH> 100644
--- a/test/configCases/plugins/provide-plugin/index.js
+++ b/test/configCases/plugins/provide-plugin/index.js
@@ -58,6 +58,6 @@ it("should provide ES2015 modules", function() {
 });
 
 it("should not provide for mjs", function(){
-	var foo = require(__dirname + "/foo.mjs").default;
+	var foo = require("./foo.mjs").default;
 	expect(foo()).toBe("undefined");
-});
\ No newline at end of file
+});
Update test/configCases/plugins/provide-plugin/index.js