Skip to content

Commit 1975292

Browse files
authored
fix replace error
1 parent c5a31d5 commit 1975292

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎test/DependenciesBlockVariable.test.js‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
const should = require("should");
44
const sinon = require("sinon");
5-
const DependenciesBlockconstiable = require("../lib/DependenciesBlockvariable");
5+
const DependenciesBlockVariable = require("../lib/DependenciesBlockvariable");
66

7-
describe("DependenciesBlockconstiable", () => {
8-
let DependenciesBlockconstiableInstance,
7+
describe("DependenciesBlockVariable", () => {
8+
let DependenciesBlockVariableInstance,
99
dependencyMock,
1010
sandbox;
1111

@@ -18,7 +18,7 @@ describe("DependenciesBlockconstiable", () => {
1818
disconnect: sandbox.spy(),
1919
updateHash: sandbox.spy()
2020
};
21-
DependenciesBlockconstiableInstance = new DependenciesBlockconstiable(
21+
DependenciesBlockVariableInstance = new DependenciesBlockVariable(
2222
"dependencies-name",
2323
"expression", [dependencyMock]);
2424
});
@@ -27,11 +27,11 @@ describe("DependenciesBlockconstiable", () => {
2727

2828
describe("hasDependencies", () =>
2929
it("returns `true` if has dependencies", () =>
30-
should(DependenciesBlockconstiableInstance.hasDependencies()).be.true()));
30+
should(DependenciesBlockVariableInstance.hasDependencies()).be.true()));
3131

3232
describe("disconnect", () =>
3333
it("trigger dependencies disconnection", () => {
34-
DependenciesBlockconstiableInstance.disconnect();
34+
DependenciesBlockVariableInstance.disconnect();
3535
should(dependencyMock.disconnect.calledOnce).be.true();
3636
}));
3737

@@ -41,7 +41,7 @@ describe("DependenciesBlockconstiable", () => {
4141
hash = {
4242
update: sandbox.spy()
4343
};
44-
DependenciesBlockconstiableInstance.updateHash(hash);
44+
DependenciesBlockVariableInstance.updateHash(hash);
4545
});
4646

4747
it("should update hash dependencies with name", () =>
@@ -68,7 +68,7 @@ describe("DependenciesBlockconstiable", () => {
6868
};
6969
}
7070
};
71-
DependenciesBlockconstiableInstance.expressionSource(
71+
DependenciesBlockVariableInstance.expressionSource(
7272
dependencyTemplates, {}, {}
7373
);
7474
should(applyMock.calledOnce).be.true();
@@ -81,7 +81,7 @@ describe("DependenciesBlockconstiable", () => {
8181
}
8282
};
8383
should(() => {
84-
DependenciesBlockconstiableInstance.expressionSource(
84+
DependenciesBlockVariableInstance.expressionSource(
8585
dependencyTemplates, {}, {}
8686
);
8787
}).throw("No template for dependency: DependencyMock");

0 commit comments

Comments
 (0)