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

Parser: Runs all parser implementations against the same tests #11320

Merged
merged 9 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
use package for test runner import
  • Loading branch information
dmsnell committed Oct 31, 2018
commit 1a095382c2452ccb6fd3f394f14c574bb1c6cb0d
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ coverage
node_modules
test/e2e/test-plugins
vendor
packages/block-serialization-spec-parser/index.js
packages/block-serialization-spec-parser/parser.js
3 changes: 3 additions & 0 deletions packages/block-serialization-default-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@wordpress/block-serialization-spec-parser": "^1.0.3"
},
"publishConfig": {
"access": "public"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-serialization-default-parser/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import path from 'path';
/**
* Internal dependencies
*/
import { jsTester, phpTester } from '../../block-serialization-spec-parser/shared-tests';
import { jsTester, phpTester } from '@wordpress/block-serialization-spec-parser';
import { parse } from '../';

describe( 'block-serialization-default-parser-js', jsTester( parse ) );
Expand Down
Loading