mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
chore(structure): move FakeStorageService into a spec folder
This commit is contained in:
@@ -19,6 +19,10 @@ const moduleRules = [
|
||||
use: "ts-loader",
|
||||
exclude: path.resolve(__dirname, "node_modules"),
|
||||
},
|
||||
{
|
||||
test: /\.spec\.ts$|[\\/]spec[\\/]/,
|
||||
exclude: true,
|
||||
},
|
||||
];
|
||||
|
||||
const plugins = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export * from "./client-locations";
|
||||
export * from "./fake-storage.service";
|
||||
export * from "./spec/fake-storage.service";
|
||||
export * from "./html-storage-location.enum";
|
||||
export * from "./memory-storage.service";
|
||||
export * from "./serialized-memory-storage.service";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { MockProxy, mock } from "jest-mock-extended";
|
||||
import { Subject } from "rxjs";
|
||||
|
||||
import { StorageOptions } from "./storage-options";
|
||||
import { StorageService, ObservableStorageService, StorageUpdate } from "./storage.service";
|
||||
import { StorageOptions } from "../storage-options";
|
||||
import { StorageService, ObservableStorageService, StorageUpdate } from "../storage.service";
|
||||
|
||||
const INTERNAL_KEY = "__internal__";
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["jest.config.js", "src/**/*.spec.ts"]
|
||||
"exclude": ["jest.config.js", "src/**/*.spec.ts", "src/spec/*.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user