Skip to content

Commit

Permalink
Lodash: Remove from integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Feb 17, 2023
1 parent 7505416 commit eb415de
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/integration/full-content/full-content.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* External dependencies
*/
import glob from 'fast-glob';
import { get } from 'lodash';
import { format } from 'util';

/**
Expand Down Expand Up @@ -252,11 +251,8 @@ describe( 'full post content fixture', () => {
JSON.parse( jsonFixtureContent );
// The name of the first block that this fixture file
// contains (if any).
const firstBlock = get(
parserOutput,
[ '0', 'name' ],
null
);
const firstBlock =
parserOutput?.[ '0' ]?.name ?? null;
return {
filename: htmlFixtureFileName,
parserOutput,
Expand Down

0 comments on commit eb415de

Please sign in to comment.