diff --git a/package.json b/package.json index f675cd73..d0b02419 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "homepage": "https://github.com/PrismarineJS/prismarine-chunk", "devDependencies": { "@types/node": "^17.0.0", - "expect": "^27.3.1", + "expect": "^28.1.0", "mocha": "^10.0.0", "prismarine-chunk": "file:.", "standard": "^17.0.0-2", diff --git a/test/ChunkColumn.test.js b/test/ChunkColumn.test.js index 285d6a2d..6b125e3c 100644 --- a/test/ChunkColumn.test.js +++ b/test/ChunkColumn.test.js @@ -4,7 +4,7 @@ const versions = ['bedrock_1.16.220', 'bedrock_1.17.40', 'bedrock_1.18.0', '1.8' const constants = require('../src/pc/common/constants') const { Vec3 } = require('vec3') const assert = require('assert') -const expect = require('expect') +const expect = require('expect').default for (const version of versions) { const registry = require('prismarine-registry')(version) diff --git a/test/test.js b/test/test.js index df7f6e7e..32a09fab 100644 --- a/test/test.js +++ b/test/test.js @@ -9,7 +9,7 @@ const chunkLoader = require('../index') const SingleValueContainer = require('../src/pc/common/PaletteContainer').SingleValueContainer const constants = require('../src/pc/common/constants') const { performance } = require('perf_hooks') -const expect = require('expect') +const expect = require('expect').default const versions = ['bedrock_0.14', 'bedrock_1.0', '1.8', '1.9', '1.10', '1.11', '1.12', '1.13.2', '1.14.4', '1.15.2', '1.16.1', '1.17', '1.18'] const cycleTests = ['1.8', '1.9', '1.10', '1.11', '1.12', '1.13.2', '1.14.4', '1.15.2', '1.16.1', '1.17', '1.18']