Set up a scratch pad.
This commit is contained in:
0
examples/scratchpad/index.js
Normal file
0
examples/scratchpad/index.js
Normal file
5
examples/scratchpad/index.test.js
Normal file
5
examples/scratchpad/index.test.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import { test, expect } from 'vitest';
|
||||
|
||||
test('a super simple test', () => {
|
||||
expect(true).toBe(true);
|
||||
});
|
||||
25
examples/scratchpad/package.json
Normal file
25
examples/scratchpad/package.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "scratchpad",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vitest --ui",
|
||||
"test": "vitest"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/stevekinney/testing-javascript.git"
|
||||
},
|
||||
"author": "Steve Kinney <hello@stevekinney.net>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/stevekinney/testing-javascript/issues"
|
||||
},
|
||||
"homepage": "https://github.com/stevekinney/testing-javascript#readme",
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "^2.1.1",
|
||||
"vite": "^5.4.5",
|
||||
"vitest": "^2.1.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user