import { it, expect } from "bun:test";
it("inspect", () => {
expect(Bun.inspect(new TypeError("what")).includes("TypeError: what")).toBe(
true
);
expect("hi").toBe("hi");
expect(Bun.inspect(1)).toBe("1");
expect(Bun.inspect(1, "hi")).toBe("1 hi");
expect(Bun.inspect([])).toBe("[]");
expect(Bun.inspect({})).toBe("{ }");
var str = "123";
while (str.length < 4096) {
str += "123";
}
expect(Bun.inspect(str)).toBe(str);
});
a>
index : astro | |
Unnamed repository; edit this file 'description' to name the repository. | |
Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* Remove further dependence on vite package
* Adds a changeset
* Add graymatter as a regular dep
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* Remove OSX \x00 workaround
* Adds a changeset
|
|
* Resolve vite client modules to vendored vite
* Adds a changeset
|
|
|
|
* Make Debug use the Code component
* Use a random port so parallel testing works
* some debugging
* Skip these tests for now
* Dont run these tests on osx
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
* chore: update compiler
* redeploy
* fix(www): ensure www can build
* chore: update compiler
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
|
|
|
|
* Fix error handling in correct scope
Also improve Vite IDs for better module graph lookups
* Improve code frame
* Add changeset
* maybeLoc can be undefined
* Add tests
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
|
|
|
|
* update dependencies
* update file to fix build:all
|
|
|