Skip to content

Commit

Permalink
test: #9986 see if lodash is compat w ses
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Aug 29, 2024
1 parent 67141a1 commit 8608baa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/exo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"lodash": "^4.17.21",
"prettier": "^3.2.5",
"typescript": "~5.6.1-rc"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/exo/test/lodash-compat.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import test from '@endo/ses-ava/prepare-endo.js';
import _ from 'lodash';

// See https://github.com/Agoric/agoric-sdk/discussions/9986
test('lodash compat', t => {
console.log('test lodash', _.defaults({ a: 1 }, { a: 3, b: 2 }));
t.pass('seems to work');
});
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ __metadata:
eslint-config-prettier: "npm:^9.1.0"
eslint-plugin-eslint-comments: "npm:^3.2.0"
eslint-plugin-import: "npm:^2.29.1"
lodash: "npm:^4.17.21"
prettier: "npm:^3.2.5"
typescript: "npm:~5.6.1-rc"
languageName: unknown
Expand Down

0 comments on commit 8608baa

Please sign in to comment.