From d23d548730c57ccdacec5799fe921d69142241f2 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 28 Sep 2023 17:37:47 +0100 Subject: [PATCH] fix: memdown import in e2e tests --- yarn-project/end-to-end/package.json | 2 +- .../end-to-end/src/integration_l1_publisher.test.ts | 2 +- yarn-project/yarn.lock | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/package.json b/yarn-project/end-to-end/package.json index 657a02d0ab3..73f29b7ef3c 100644 --- a/yarn-project/end-to-end/package.json +++ b/yarn-project/end-to-end/package.json @@ -47,6 +47,7 @@ "@types/lodash.times": "^4.3.7", "@types/lodash.zip": "^4.2.7", "@types/lodash.zipwith": "^4.2.7", + "@types/memdown": "^3.0.3", "@types/node": "^18.7.23", "jest": "^29.5.0", "koa": "^2.14.2", @@ -69,7 +70,6 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.1.4", "@types/lodash.compact": "^3.0.7", - "@types/memdown": "^3.0.2", "concurrently": "^7.6.0" }, "files": [ diff --git a/yarn-project/end-to-end/src/integration_l1_publisher.test.ts b/yarn-project/end-to-end/src/integration_l1_publisher.test.ts index 71696e1ef38..bd09b24cd74 100644 --- a/yarn-project/end-to-end/src/integration_l1_publisher.test.ts +++ b/yarn-project/end-to-end/src/integration_l1_publisher.test.ts @@ -33,7 +33,7 @@ import { MerkleTreeOperations, MerkleTrees } from '@aztec/world-state'; import { beforeEach, describe, expect, it } from '@jest/globals'; import { default as levelup } from 'levelup'; -import { default as memdown } from 'memdown'; +import memdown from 'memdown'; import { Address, Chain, diff --git a/yarn-project/yarn.lock b/yarn-project/yarn.lock index e9074f74df7..ab78dc201d1 100644 --- a/yarn-project/yarn.lock +++ b/yarn-project/yarn.lock @@ -387,7 +387,7 @@ __metadata: "@types/lodash.times": ^4.3.7 "@types/lodash.zip": ^4.2.7 "@types/lodash.zipwith": ^4.2.7 - "@types/memdown": ^3.0.2 + "@types/memdown": ^3.0.3 "@types/node": ^18.7.23 concurrently: ^7.6.0 jest: ^29.5.0 @@ -4711,6 +4711,15 @@ __metadata: languageName: node linkType: hard +"@types/memdown@npm:^3.0.3": + version: 3.0.3 + resolution: "@types/memdown@npm:3.0.3" + dependencies: + "@types/abstract-leveldown": "*" + checksum: 9aa311838574b51e4334878102c80c6abc0e1ec14fe00f98c6ee812f3e6b24db53de632e0f763692730e0147e5c41add0ac4257c3deb3dc7abce176708ed73a4 + languageName: node + linkType: hard + "@types/mime@npm:*": version: 3.0.1 resolution: "@types/mime@npm:3.0.1"