Skip to content

Commit 5055268

Browse files
committed
fix typo
1 parent 04fcf1f commit 5055268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe("LocalstackPlugin", () => {
118118
endpointFile: 'missing.json'
119119
}
120120

121-
let plugin = () => {let instnace = new LocalstackPlugin(serverless, {}); instance.readConfig() }
121+
let plugin = () => {let pluginInstance = new LocalstackPlugin(serverless, {}); pluginInstance.readConfig() }
122122

123123
expect(plugin).to.throw('Endpoint: "missing.json" is invalid:')
124124
});
@@ -127,7 +127,7 @@ describe("LocalstackPlugin", () => {
127127
serverless.service.custom.localstack = {
128128
endpointFile: 'README.md'
129129
}
130-
let plugin = () => {let instnace = new LocalstackPlugin(serverless, {}); instance.readConfig() }
130+
let plugin = () => {let pluginInstance = new LocalstackPlugin(serverless, {}); pluginInstance.readConfig() }
131131
expect(plugin).to.throw(/Endpoint: "README.md" is invalid:/)
132132
});
133133

0 commit comments

Comments
 (0)