Skip to content

Commit

Permalink
test: refactoring for configs and its location
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Oct 4, 2023
1 parent a1a5839 commit e84ea9e
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 12,643 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/plugins/testId.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import elements from "../../tests/testId.json";
import elements from "../../tests/e2e/testId.json";

import type { App } from "vue";

Expand Down
2 changes: 1 addition & 1 deletion packages/app/tests/components/transactions/Table.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useContextMock, useTransactionsMock } from "../../mocks";
import Table from "@/components/transactions/Table.vue";

import enUS from "@/locales/en.json";
import elements from "tests/testId.json";
import elements from "tests/e2e/testId.json";

import type { AbiFragment } from "@/composables/useAddress";
import type { TransactionListItem } from "@/composables/useTransactions";
Expand Down
2 changes: 1 addition & 1 deletion packages/app/tests/components/transfers/Table.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { useContextMock, useTransfersMock } from "./../../mocks";
import Table from "@/components/transfers/Table.vue";

import enUS from "@/locales/en.json";
import elements from "tests/testId.json";
import elements from "tests/e2e/testId.json";

import $testId from "@/plugins/testId";
import { ETH_TOKEN } from "@/utils/constants";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/app/tests/views/DebuggerView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { computed } from "@vue/reactivity";

import * as useTrace from "@/composables/useTrace";

import testId from "./../testId.json";
import testId from "./../e2e/testId.json";
import enUS from "@/locales/en.json";

import $testId from "@/plugins/testId";
Expand Down
5 changes: 0 additions & 5 deletions packages/integration-tests/.commitlintrc.json

This file was deleted.

37 changes: 0 additions & 37 deletions packages/integration-tests/.gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions packages/integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ npm install

Pre-requisites: Docker Desktop should be installed

Before the test run, there needs to spin a local environment up:
Before the test run, there needs to spin a local environment up (use docker-compose.yaml from the root project):
```bash
docker-compose -f docker-compose.yaml up
docker-compose -f ../../docker-compose.yaml up
```

## How to run api tests
Expand Down
Loading

0 comments on commit e84ea9e

Please sign in to comment.