Skip to content

Commit 365d22d

Browse files
committed
fixup: update test
1 parent cab4305 commit 365d22d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/compass-schema/src/components/schema-toolbar/schema-toolbar.spec.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,11 @@ describe('SchemaToolbar', function () {
138138
expect(screen.getByTestId('query-bar')).to.be.visible;
139139
});
140140

141-
it('does not render the export schema button', function () {
141+
it('renders the export schema button', function () {
142142
renderSchemaToolbar({
143143
sampleSize: 100,
144144
});
145-
expect(screen.getByText(/documents/)).to.be.visible;
146145

147-
expect(screen.queryByTestId(exportSchemaTestId)).to.not.exist;
148-
});
149-
150-
it('renders the export schema button', function () {
151146
expect(screen.getByTestId(exportSchemaTestId)).to.be.visible;
152147
});
153148
});

0 commit comments

Comments
 (0)