Skip to content

Commit 2d3bd71

Browse files
author
Kelly Selden
committed
fix testing race condition
1 parent 942aedd commit 2d3bd71

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/integration/init-test.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,16 @@ describe(init, function() {
154154
relativeDir: location
155155
});
156156

157+
let { promise } = await init({
158+
blueprint: location,
159+
codemodsSource,
160+
blueprintOptions: options
161+
});
162+
157163
let {
158164
status
159165
} = await processExit({
160-
promise: init({
161-
blueprint: location,
162-
codemodsSource,
163-
blueprintOptions: options
164-
}),
166+
promise,
165167
cwd: tmpPath,
166168
commitMessage,
167169
expect

0 commit comments

Comments
 (0)