Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 972a5d9

Browse files
committed
move before setup into beforeEach for config test
1 parent 0a818ba commit 972a5d9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/test/lib/commands/config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ describe("config", function () {
1111
let output = "";
1212
let memStream;
1313

14-
before(function () {
14+
beforeEach(function () {
1515
config = createTestProject(path.join(__dirname, "../../sources/metacoin"));
1616
config.logger = { log: val => val && memStream.write(val) };
17-
});
18-
19-
beforeEach(function () {
2017
memStream = new MemoryStream();
2118
memStream.on("data", data => {
2219
output += data.toString();

0 commit comments

Comments
 (0)