Skip to content

Commit

Permalink
chore(core): name all scenario pkgs
Browse files Browse the repository at this point in the history
`@endo/compartment-mapper` cannot ingest scenarios if the `package.json` files therein do not have `name` fields.  This change adds the fields.
  • Loading branch information
boneskull committed Dec 15, 2023
1 parent 52e7b1c commit 1fe5da4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function createScenarioFromScaffold({
'package.json': {
content: `${JSON.stringify(
{
name,
dependencies: {
one: '1.0.0',
two: '1.0.0',
Expand All @@ -167,6 +168,7 @@ function createScenarioFromScaffold({
'node_modules/one/package.json': {
content: `${JSON.stringify(
{
name: 'one',
dependencies: {
two: '1.0.0',
three: '1.0.0',
Expand All @@ -186,6 +188,7 @@ function createScenarioFromScaffold({
'node_modules/two/package.json': {
content: `${JSON.stringify(
{
name: 'two',
dependencies: {
three: '1.0.0',
},
Expand All @@ -204,6 +207,7 @@ function createScenarioFromScaffold({
'node_modules/three/package.json': {
content: `${JSON.stringify(
{
name: 'three',
dependencies: {
one: '1.0.0',
},
Expand Down

0 comments on commit 1fe5da4

Please sign in to comment.