Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

upgrade to Ava 4 #55

Merged
merged 3 commits into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 2 additions & 3 deletions api/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ const PRICE_PER_CARD_IN_MONEY_UNITS = 1n;
// script ends, connections to any of its objects are severed.

/**
* @typedef {Object} DeployPowers The special powers that `agoric deploy` gives us
* @typedef {object} DeployPowers The special powers that `agoric deploy` gives us
* @property {(path: string) => Promise<{ moduleFormat: string, source: string }>} bundleSource
* @property {(path: string) => string} pathResolve
* @property {(path: string, opts?: any) => Promise<any>} installUnsafePlugin
*
* @typedef {Object} Board
* @typedef {object} Board
* @property {(id: string) => any} getValue
* @property {(value: any) => string} getId
* @property {(value: any) => boolean} has
Expand Down
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-jessie": "^0.0.6",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.3.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1"
},
Expand Down
5 changes: 2 additions & 3 deletions contract/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ import { resolve as importMetaResolve } from 'import-meta-resolve';
// use this installation in a later step.

/**
* @typedef {Object} DeployPowers The special powers that agoric deploy gives us
* @typedef {object} DeployPowers The special powers that agoric deploy gives us
* @property {(path: string) => { moduleFormat: string, source: string }} bundleSource
* @property {(path: string) => string} pathResolve
*
* @typedef {Object} Board
* @typedef {object} Board
* @property {(id: string) => any} getValue
* @property {(value: any) => string} getId
* @property {(value: any) => boolean} has
Expand Down
4 changes: 2 additions & 2 deletions contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"agoric": "dev",
"@endo/eslint-plugin": "^0.4.1",
"@jessie.js/eslint-plugin": "^0.2.0",
"ava": "^3.13.0",
"ava": "^4.3.1",
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1 ",
"eslint-config-jessie": "^0.0.6",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1"
},
Expand Down
1 change: 0 additions & 1 deletion contract/src/auctionItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import '@agoric/zoe/exported.js';
* completedP: Promise,
* sellerSeatP: Promise<UserSeat>
* }} AuctionSession
*
* @type {ContractStartFn}
*/
const start = (zcf) => {
Expand Down
4 changes: 3 additions & 1 deletion contract/test/test-contract.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// @ts-check
import '@endo/init/pre-bundle-source.js';
import '@agoric/zoe/tools/prepare-test-env.js';
// eslint-disable-next-line import/no-unresolved -- https://github.com/avajs/ava/issues/2951
import test from 'ava';

import { test } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import { resolve as importMetaResolve } from 'import-meta-resolve';

import bundleSource from '@endo/bundle-source';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-jessie": "^0.0.6",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
Expand Down
Loading