mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #174 from element-hq/hs/fix-imports
Fix missing `.js` imports
This commit is contained in:
commit
1ab1b54e7c
@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
|
||||
import AxeBuilder from "@axe-core/playwright";
|
||||
|
||||
import { test as base } from "./user";
|
||||
import { test as base } from "./user.js";
|
||||
|
||||
// We want to avoid using `mergeTests` because it drops useful type information about the fixtures. Instead, we extend
|
||||
// the definition of `test` from `user.ts`, so that there is a linear hierarchy.
|
||||
|
||||
@ -9,4 +9,4 @@ export { type Services, type WorkerOptions } from "./services.js";
|
||||
|
||||
// We avoid using `mergeTests` because it drops useful type information about the fixtures.
|
||||
// `axe` is the top of our stack of extensions (it extends `user`, etc), so it's the one we want to use.
|
||||
export { test } from "./axe";
|
||||
export { test } from "./axe.js";
|
||||
|
||||
@ -8,9 +8,9 @@ Please see LICENSE files in the repository root for full details.
|
||||
import { type AbstractStartedContainer, type GenericContainer } from "testcontainers";
|
||||
import { type APIRequestContext, type TestInfo } from "@playwright/test";
|
||||
|
||||
import { type StartedMatrixAuthenticationServiceContainer } from "./mas";
|
||||
import { type ClientServerApi, type Credentials } from "../utils/api";
|
||||
import { type StartedMailpitContainer } from "./mailpit";
|
||||
import { type StartedMatrixAuthenticationServiceContainer } from "./mas.js";
|
||||
import { type ClientServerApi, type Credentials } from "../utils/api.js";
|
||||
import { type StartedMailpitContainer } from "./mailpit.js";
|
||||
|
||||
export interface HomeserverInstance {
|
||||
readonly baseUrl: string;
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"declarationMap": true,
|
||||
"module": "node16",
|
||||
"moduleResolution": "node16",
|
||||
"allowImportingTsExtensions": false
|
||||
},
|
||||
"include": ["src"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user