Skip to content

Commit

Permalink
Block library: Remove all test snapshots for blocks (#14349)
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored and youknowriad committed Mar 20, 2019
1 parent 2e1c48a commit 21f60e4
Show file tree
Hide file tree
Showing 43 changed files with 1 addition and 1,041 deletions.
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

0 comments on commit 21f60e4

Please sign in to comment.