mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-18 13:26:04 +00:00
remove test, oops
This commit is contained in:
@@ -5,13 +5,6 @@ import { describe, it } from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
|
||||
describe("Array extensions", () => {
|
||||
it("partition", () => {
|
||||
const arr = [1, 2, 3, 4, 5];
|
||||
const [even, odd] = arr.partition((n) => n % 2 === 0);
|
||||
assert.deepEqual(even, [2, 4]);
|
||||
assert.deepEqual(odd, [1, 3, 5]);
|
||||
});
|
||||
|
||||
it("remove", () => {
|
||||
const arr = [1, 2, 3, 4, 5];
|
||||
arr.remove(3);
|
||||
|
||||
Reference in New Issue
Block a user