1
0

restructure

This commit is contained in:
2024-01-20 23:47:47 +01:00
parent 703c0c4131
commit 0308d20c38
3 changed files with 3 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -11,7 +11,7 @@ import {
textToBase64Url,
pemToBinary,
importTextSecret
} from './utils'
} from '../src/utils'
describe('Converters', () => {
const testString = 'cloudflare-worker-jwt'