We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7dd9a6 commit f9ecaaaCopy full SHA for f9ecaaa
test/unit/node/app.test.ts
@@ -107,6 +107,18 @@ describe("createApp", () => {
107
app.dispose()
108
})
109
110
+ it("should change the file mode of a socket", async () => {
111
+ const defaultArgs = await setDefaults({
112
+ socket: tmpFilePath,
113
+ "socket-mode": "777",
114
+ })
115
+
116
+ const app = await createApp(defaultArgs)
117
118
+ expect((await promises.stat(tmpFilePath)).mode & 0o777).toBe(0o777)
119
+ app.dispose()
120
121
122
it("should create an https server if args.cert exists", async () => {
123
const testCertificate = await generateCertificate("localhost")
124
const cert = new OptionalString(testCertificate.cert)
0 commit comments