Archived
1
0

feat: github-auth flag (#4926)

* feat: github-auth flag

This will allow injecting credentials into code-server if you already
have them.

* Update Code

Contains the GitHub auth changes.

* Add e2e test for GitHub token
This commit is contained in:
Asher
2022-03-02 14:02:51 -06:00
committed by GitHub
parent 3f3a489f33
commit 0e78a147b6
14 changed files with 127 additions and 16 deletions

View File

@ -1,3 +1,4 @@
import * as path from "path"
import { describe, test } from "./baseFixture"
function runTestExtensionTests() {
@ -11,10 +12,12 @@ function runTestExtensionTests() {
})
}
describe("Extensions", true, [], () => {
const flags = ["--extensions-dir", path.join(__dirname, "./extensions")]
describe("Extensions", true, flags, {}, () => {
runTestExtensionTests()
})
describe("Extensions with --cert", true, ["--cert"], () => {
describe("Extensions with --cert", true, [...flags, "--cert"], {}, () => {
runTestExtensionTests()
})