Skip to content

Commit

Permalink
remove unneeded files
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheduminer committed Oct 9, 2020
1 parent 67d6839 commit e104abc
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 1,851 deletions.
2 changes: 1 addition & 1 deletion __tests__/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mockedFetch = mocked(mockedFetch, true);

import Client from "../src/client";
import {initClient} from '../src/auth';
import {token} from "../resources/data";
import {token} from "./data";

describe("test authentication", () => {
beforeEach(() => {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions __tests__/database.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Sirix, sirixInit} from "../src/sirix";
import Database from "../src/database";
import {DBType} from "../src/info";
import Resource from "../src/resource";
import {token} from "../resources/data";
import {token} from "./data";


describe('test Database class', () => {
Expand Down Expand Up @@ -64,4 +64,4 @@ describe('test Database class', () => {
const resource = db.resource("test");
expect(resource).toBeInstanceOf(Resource);
})
});
});
2 changes: 1 addition & 1 deletion __tests__/resource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Sirix, sirixInit} from "../src/sirix";
import Database from "../src/database";
import {DBType, MetaType} from "../src/info";
import Resource from "../src/resource";
import {token, resourceQuery} from "../resources/data"
import {token, resourceQuery} from "./data"


describe('test Resource class', () => {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/sirix.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Response = jest.requireActual('fetch-ponyfill')().Response;
mockedFetch = mocked(mockedFetch, true);

import {Sirix, sirixInit} from "../src/sirix";
import {token, postQuery} from "../resources/data";
import {token, postQuery} from "./data";

describe('test Sirix class', () => {
let sirix: Sirix;
Expand Down
5 changes: 3 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'./src/*(?<!.d).ts'
],
testPathIgnorePatterns: [
"./__tests__/xml.test.ts"
"./__tests__/xml.test.ts",
"./__tests__/data.ts",
]
};
};
1 change: 0 additions & 1 deletion resources/create-sirix-users.sh

This file was deleted.

26 changes: 0 additions & 26 deletions resources/docker-compose.yml

This file was deleted.

Loading

0 comments on commit e104abc

Please sign in to comment.