Skip to content
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
13 changes: 8 additions & 5 deletions e2e/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@
},
"devDependencies": {
"@types/node": "^18.0.6",
"concurrently": "^7.3.0",
"cypress": "^13.2.0",
"esbuild": "^0.15.16",
"parcel": "^2.6.2",
"pm2": "^5.3.0",
"concurrently": "^8.2.2",
"cypress": "^13.7.0",
"esbuild": "^0.20.2",
"parcel": "^2.12.0",
"pm2": "^5.3.1",
"size-limit": "^8.1.0"
},
"dependencies": {
"@dfinity/agent": "^1.1.1",
"@dfinity/identity": "^1.1.1",
"@dfinity/principal": "^1.1.1",
"idb-keyval": "^6.2.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.6.1"
}
}
8 changes: 4 additions & 4 deletions e2e/node/basic/mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('certified query', () => {
expect(Principal.from(result)).toBeInstanceOf(Principal);
}, 100_000);
it('should verify lots of query certificates', async () => {
let count = 0;
let count = 1;
const identities = Array.from({ length: 20 }).map(() => {
const newIdentity = Ed25519KeyIdentity.generate(new Uint8Array(32).fill(count));
count++;
Expand All @@ -56,9 +56,6 @@ describe('certified query', () => {

expect(results).toMatchInlineSnapshot(`
[
{
"__principal__": "535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe",
},
{
"__principal__": "wf3fv-4c4nr-7ks2b-xa4u7-kf3no-32glf-lf7e4-4ng4a-wwtlu-a2vnq-nae",
},
Expand Down Expand Up @@ -116,6 +113,9 @@ describe('certified query', () => {
{
"__principal__": "entn3-mas6a-37smu-vadtg-wgsno-zokif-vyphu-umase-lfwqe-dmcrk-kae",
},
{
"__principal__": "hy3bf-xpwhn-ru6bb-lhqol-wrjew-j2xqi-gb4gb-muivw-d6bkg-q3tp4-lqe",
},
]
`);
});
Expand Down
Loading