updated cypress tsconfig to avoid relative imports

This commit is contained in:
ericv105
2023-01-11 20:36:41 -05:00
parent 66e55b4c65
commit 995c75de99
3 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import React from "react";
import { Container } from "../../src/components/Container";
import { Container } from "src/components/Container";
describe("<Container />", () => {
it("renders", () => {
@@ -1,4 +1,4 @@
import { OasstApiClient, OasstError } from "../../src/lib/oasst_api_client";
import { OasstApiClient, OasstError } from "src/lib/oasst_api_client";
describe("Contract test for Oasst API", function () {
// Assumes this is running the mock server.
+1
View File
@@ -3,6 +3,7 @@
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress", "node"],
"baseUrl": "..",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "react-jsx"