fix tests

This commit is contained in:
sua yoo 2024-07-01 23:03:47 -07:00
parent 04e3b2f163
commit ed0d489cda
No known key found for this signature in database
GPG Key ID: 5AD1B4C02D4F0567
3 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import { render, type TemplateResult } from "lit";
import { customElement, property, query, state } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js";
import { when } from "lit/directives/when.js";
import { sortBy } from "lodash/fp";
import sortBy from "lodash/fp/sortBy";
import "broadcastchannel-polyfill";
import "./utils/polyfills";

View File

@ -2,7 +2,7 @@ import { localized, msg, str } from "@lit/localize";
import { serialize } from "@shoelace-style/shoelace/dist/utilities/form.js";
import { type PropertyValues, type TemplateResult } from "lit";
import { customElement, property, state } from "lit/decorators.js";
import { sortBy } from "lodash/fp";
import sortBy from "lodash/fp/sortBy";
import type { InviteSuccessDetail } from "@/features/accounts/invite-form";
import type { APIPaginatedList } from "@/types/api";

View File

@ -49,6 +49,7 @@ export default {
// web-test-runner expects es modules,
// include umd/commonjs modules here:
"node_modules/url-pattern/**/*",
"node_modules/lodash/**/*",
],
}),
importMapsPlugin({