restructure
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
.github/
|
||||
src/
|
||||
tests/
|
||||
.editorconfig
|
||||
index.spec.js
|
||||
index.test.js
|
||||
utils.spec.js
|
||||
utils.test.js
|
||||
jest.config.ts
|
||||
tsconfig.json
|
||||
@@ -2,7 +2,7 @@ import crypto from 'node:crypto'
|
||||
Object.defineProperty(global, 'crypto', { value: { subtle: crypto.webcrypto.subtle }})
|
||||
|
||||
import { describe, expect, test } from '@jest/globals'
|
||||
import jwt, { JwtAlgorithm } from '.'
|
||||
import jwt, { JwtAlgorithm } from '../src/index'
|
||||
|
||||
type Dataset = {
|
||||
public: string
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
textToBase64Url,
|
||||
pemToBinary,
|
||||
importTextSecret
|
||||
} from './utils'
|
||||
} from '../src/utils'
|
||||
|
||||
describe('Converters', () => {
|
||||
const testString = 'cloudflare-worker-jwt'
|
||||
Reference in New Issue
Block a user