This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into greenkeeper/initial
- Loading branch information
Showing
15 changed files
with
97 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[ | ||
{ | ||
"username": "jantejante", | ||
"groupId": "KRAVS:3REA", | ||
"mail": "jante@t-fk.no" | ||
"username": "riemann", | ||
"groupId": "BAMVS:3ST", | ||
"mail": "riemann@minelev.no" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is the gauss directory |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
{ | ||
"Id": "BAMVS:3ST" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is the riemann directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"firstName": "Helge Grim", | ||
"middleName": null, | ||
"lastName": "Grim", | ||
"fullName": "Helge Grim", | ||
"personalIdNumber": "02059711111", | ||
"mobilePhone": "+4798888888", | ||
"mail": "helgeg@hotmail.com", | ||
"userName": "0205helgeg", | ||
"contactTeacher": true, | ||
"unitId": "BAMVS", | ||
"unitName": "Bamble vgs. avd. Grasmyr", | ||
"organizationNumber": "NO974568098", | ||
"mainGroupName": "BAMVS:3ST", | ||
"groups": [ | ||
{ | ||
"id": "BAMVS:3ST/151FSP5098", | ||
"description": "Spansk I+II", | ||
"unitId": "BAMVS", | ||
"unitName": "Bamble vgs. avd. Grasmyr", | ||
"organizationNumber": "NO974568098", | ||
"contactTeacher": true | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict' | ||
|
||
const test = require('ava') | ||
const listen = require('test-listen') | ||
const axios = require('axios') | ||
const micro = require('micro') | ||
const srv = require('../../index') | ||
|
||
const getUrl = fn => { | ||
const srv = micro(fn) | ||
return listen(srv) | ||
} | ||
|
||
test('it returns README as frontpage', async t => { | ||
const url = await getUrl(srv) | ||
const result = await axios.get(url) | ||
t.true(result.data.includes('MIT'), 'frontpage ok') | ||
}) |