Skip to content

Commit 504a301

Browse files
committed
fixed imports of nobel dep and fixed tests
1 parent 655483c commit 504a301

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default {
1010
transform: {
1111
'^.+\\.[tj]sx?$': ['babel-jest', { configFile: './babel.config.mjs' }],
1212
},
13-
transformIgnorePatterns: ['/node_modules/(?!lit-html).+\\.js'],
13+
transformIgnorePatterns: ['/node_modules/(?!(lit-html|@noble/curves|@noble/hashes)/).+\\.js'],
1414
setupFilesAfterEnv: ['./test/helpers/setup.ts'],
1515
testMatch: ['**/?(*.)+(spec|test).[tj]s?(x)'],
1616
roots: ['<rootDir>/src', '<rootDir>/test', '<rootDir>/__mocks__'],

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"homepage": "https://github.com/solidos/solid-ui",
6767
"dependencies": {
6868
"@noble/curves": "^2.0.1",
69-
"acorn": "^8.15.0",
69+
"@noble/hashes": "^2.0.1",
7070
"escape-html": "^1.0.3",
7171
"mime-types": "^3.0.2",
7272
"pane-registry": "^3.0.0",

src/chat/keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as debug from '../debug'
22
import { schnorr } from '@noble/curves/secp256k1.js'
33
import { bytesToHex, hexToBytes } from '@noble/hashes/utils.js'
4-
import * as ns from '../ns'
4+
import ns from '../ns'
55
import { store } from 'solid-logic'
66
import { NamedNode } from 'rdflib'
77
import * as $rdf from 'rdflib'

0 commit comments

Comments
 (0)