Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
tot-kristian committed Jul 23, 2024
1 parent cd79a0f commit 505bb16
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/nodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class Nodb extends NodbWebSocket {
return result.data;
}

async createAppWithEnvironmentAndGetTokens(
async createApplication(
props: PostApplicationBody,
): Promise<PostApplicationResponse> {
const {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.deleteEntitites.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Nodb delete entities/entity tests", () => {
let ids: string[] = [];

beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.getEntities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("Nodb get entities/entity tests", () => {
let ids: string[] = [];

beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.rag.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("Nodb rag entities tests ", () => {
});
const entityName = "test-entity";
beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.replaceEntities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("Nodb replace entities/entity tests", () => {
let ids: string[] = [];

beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.updateEntities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("Nodb update entities/entity tests", () => {
let ids: string[] = [];

beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.writeEntities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("Nodb write entities/entity tests ", () => {
const entityName = "testProject";

beforeAll(async () => {
const result = await nodb.createAppWithEnvironmentAndGetTokens({
const result = await nodb.createApplication({
appName,
environmentName: envName,
});
Expand Down

0 comments on commit 505bb16

Please sign in to comment.