Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block library: Remove all test snapshots for blocks #14349

Merged
merged 1 commit into from
Mar 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 0 additions & 53 deletions packages/block-library/src/audio/test/__snapshots__/index.js.snap

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/audio/test/index.js

This file was deleted.

42 changes: 0 additions & 42 deletions packages/block-library/src/button/test/__snapshots__/index.js.snap

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/button/test/index.js

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/classic/test/index.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/block-library/src/code/test/__snapshots__/index.js.snap

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/code/test/index.js

This file was deleted.

42 changes: 0 additions & 42 deletions packages/block-library/src/cover/test/__snapshots__/index.js.snap

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/cover/test/index.js

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/gallery/test/index.js

This file was deleted.

This file was deleted.

11 changes: 1 addition & 10 deletions packages/block-library/src/heading/test/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
/**
* Internal dependencies
*/
import { name, settings, getLevelFromHeadingNodeName } from '../';
import { blockEditRender } from '../../test/helpers';

describe( 'core/heading', () => {
test( 'block edit matches snapshot', () => {
const wrapper = blockEditRender( name, settings );

expect( wrapper ).toMatchSnapshot();
} );
} );
import { getLevelFromHeadingNodeName } from '../';

describe( 'getLevelFromHeadingNodeName()', () => {
it( 'should return a numeric value from nodeName', () => {
Expand Down
14 changes: 0 additions & 14 deletions packages/block-library/src/html/test/__snapshots__/index.js.snap

This file was deleted.

13 changes: 0 additions & 13 deletions packages/block-library/src/html/test/index.js

This file was deleted.

Loading