Skip to content

Commit 69e28d7

Browse files
author
Kelly Selden
committed
check status before fixtures
1 parent f123c08 commit 69e28d7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ describe('runs codemods', function() {
104104
status
105105
} = await promise;
106106

107+
assertNoUnstaged(status);
108+
assertCodemodRan(status);
109+
107110
// file is indeterminent between OS's, so ignore
108111
await fs.remove(path.join(tmpPath, 'MODULE_REPORT.md'));
109112

@@ -122,9 +125,6 @@ describe('runs codemods', function() {
122125
fixtureCompare({
123126
mergeFixtures
124127
});
125-
126-
assertNoUnstaged(status);
127-
assertCodemodRan(status);
128128
});
129129
}
130130
});

0 commit comments

Comments
 (0)