feat: setup test env
parent
c6cc1b43c7
commit
c614daae54
@ -0,0 +1,4 @@
|
||||
{
|
||||
"presets": ["@babel/preset-env"]
|
||||
}
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
import { LangGeniusClient } from '../index';
|
||||
import { LangGeniusClient } from "..";
|
||||
|
||||
describe('LangGeniusClient', () => {
|
||||
it('should be defined', async () => {
|
||||
const client = new LangGeniusClient('your-api-key');
|
||||
describe('Client', () => {
|
||||
test('should create a client', () => {
|
||||
const client = new LangGeniusClient('test');
|
||||
expect(client).toBeDefined();
|
||||
});
|
||||
})
|
||||
});
|
||||
Loading…
Reference in New Issue