@slates/test 1.0.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/config.ts
21
+ var config_exports = {};
22
+ __export(config_exports, {
23
+ createSlatesVitestConfig: () => createSlatesVitestConfig
24
+ });
25
+ module.exports = __toCommonJS(config_exports);
26
+ var import_testing_tools = require("@lowerdeck/testing-tools");
27
+ var createSlatesVitestConfig = (config = {}) => (0, import_testing_tools.createVitestConfig)(config);
28
+ // Annotate the CommonJS export names for ESM import in node:
29
+ 0 && (module.exports = {
30
+ createSlatesVitestConfig
31
+ });
@@ -0,0 +1,6 @@
1
+ import * as vite from 'vite';
2
+ import { createVitestConfig } from '@lowerdeck/testing-tools';
3
+
4
+ declare let createSlatesVitestConfig: (config?: Parameters<typeof createVitestConfig>[0]) => vite.UserConfig;
5
+
6
+ export { createSlatesVitestConfig };
@@ -0,0 +1,6 @@
1
+ import * as vite from 'vite';
2
+ import { createVitestConfig } from '@lowerdeck/testing-tools';
3
+
4
+ declare let createSlatesVitestConfig: (config?: Parameters<typeof createVitestConfig>[0]) => vite.UserConfig;
5
+
6
+ export { createSlatesVitestConfig };
@@ -0,0 +1,6 @@
1
+ // src/config.ts
2
+ import { createVitestConfig } from "@lowerdeck/testing-tools";
3
+ var createSlatesVitestConfig = (config = {}) => createVitestConfig(config);
4
+ export {
5
+ createSlatesVitestConfig
6
+ };