refactor: rename directory

This commit is contained in:
kbwo 2024-07-15 19:13:19 +09:00
parent 4782784122
commit 1d6dd6623e
41 changed files with 54 additions and 67 deletions

2
demo/vitest/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
.yarn

1
demo/vitest/.yarnrc.yml Normal file
View file

@ -0,0 +1 @@
nodeLinker: node-modules

12
demo/vitest/basic.test.ts Normal file
View file

@ -0,0 +1,12 @@
import assert from "assert";
import { describe, test } from "vitest";
describe("describe text", () => {
test("pass", async () => {
assert(false);
});
test("fail", async () => {
assert(false);
});
});

16
demo/vitest/package.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "spec",
"version": "0.0.1",
"description": "neotest-vitest spec",
"main": "index.js",
"license": "MIT",
"dependencies": {
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
},
"devDependencies": {
"@types/node": "^18.0.3",
"vite": "^3.0.9",
"vitest": "^0.22.1"
}
}

View file

@ -0,0 +1,13 @@
/// <reference types="vitest" />
// Configure Vitest (https://vitest.dev/config/)
import { defineConfig } from 'vite'
export default defineConfig({
test: {
/* for example, use global to avoid globals imports (describe, test, expect): */
// globals: true,
},
})

1575
demo/vitest/yarn.lock Normal file

File diff suppressed because it is too large Load diff