Archived
1
0

wip: add notes about unit test refactor

This commit is contained in:
Joe Previte
2022-09-17 10:02:23 -07:00
parent bbfbab40db
commit 74330a1e05
3 changed files with 9 additions and 3 deletions

View File

@ -107,6 +107,8 @@ describe("createApp", () => {
app.dispose()
})
// TODO@jsjoeio - delete because this test it buggy?
// or move into it's own describe block
it("should change the file mode of a socket", async () => {
const defaultArgs = await setDefaults({
socket: tmpFilePath,
@ -248,7 +250,7 @@ describe("listen", () => {
jest.clearAllMocks()
})
it("should throw an error if a directory is passed in instead of a file", async () => {
it.skip("should throw an error if a directory is passed in instead of a file", async () => {
const errorMessage = "EISDIR: illegal operation on a directory, unlink"
const port = await getAvailablePort()
const mockArgs = { port, host: "0.0.0.0", socket: tmpDirPath }

View File

@ -4,7 +4,9 @@ import { clean, tmpdir } from "../../../utils/helpers"
import * as httpserver from "../../../utils/httpserver"
import * as integration from "../../../utils/integration"
describe("vscode", () => {
// TODO@jsjoeio - move these to integration tests since they rely on Code
// to be built
describe.skip("vscode", () => {
let codeServer: httpserver.HttpServer | undefined
const testName = "vscode"