Skip to content

Commit

Permalink
Update VSCode settings for JavaScript Debug Terminal and enhance init…
Browse files Browse the repository at this point in the history
…ial tests for case sensitivity in storage
  • Loading branch information
BlackRam-oss committed Feb 25, 2025
1 parent aa62612 commit 30d93b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
// move file
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
// debug
"terminal.integrated.defaultProfile.linux": "JavaScript Debug Terminal",
"terminal.integrated.defaultProfile.windows": "JavaScript Debug Terminal",
"terminal.integrated.defaultProfile.osx": "JavaScript Debug Terminal",
// olther
"extensions.ignoreRecommendations": false,
}
22 changes: 11 additions & 11 deletions initial.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { expect, test } from 'vitest';
import { expect, test } from "vitest";
import { storage } from "./src";

test('Pixi.js Application', async () => {
try {
// let app = new Application()
// await app.init()
expect(true).toBe(true)
}
catch (e) {
console.error(e)
expect(false).toBe(true)
}
test("setVariable & getVariable", async () => {
storage.setVariable("test", "test");
expect(storage.getVariable("test")).toBe("test");

storage.setVariable("test", "test");
expect(storage.getVariable("Test")).toBe("test");

storage.setVariable("Test", "Test");
expect(storage.getVariable("test")).toBe(undefined);
});

0 comments on commit 30d93b4

Please sign in to comment.