test/unit/solid-profile-test.js
/**
 * Returns a sample test profile with the following graphs loaded:
 *   - test/resources/profile-extended.js
 *   - test/resources/profile-private.js
 */
Returns a sample test profile with the following graphs loaded:
- test/resources/profile-extended.js
- test/resources/profile-private.js
Returns a sample test profile with the following graphs loaded : - test / resources / profile - extended . js - test / resources / profile - private . js
function sampleExtendedProfile () {
  let profile = new SolidProfile(sampleProfileUrl, parsedProfileGraph, rdf)
  let urlPrivateProfile = 'https://localhost:8443/settings/prefs.ttl'
  let graphPrivateProfile = getPrefsGraph(urlPrivateProfile)
  profile.appendFromGraph(graphPrivateProfile, urlPrivateProfile)
  profile.isLoaded = true
  return profile
}
function sampleExtendedProfile ( ) { let profile = new SolidProfile ( sampleProfileUrl , parsedProfileGraph , rdf ) let urlPrivateProfile = 'https://localhost:8443/settings/prefs.ttl' let graphPrivateProfile = getPrefsGraph ( urlPrivateProfile ) profile . appendFromGraph ( graphPrivateProfile , urlPrivateProfile ) profile . isLoaded = true return profile }
Returns a sample test profile with the following graphs loaded:
   - test/resources/profile-extended.js
   - test/resources/profile-private.js
Returns a sample test profile with the following graphs loaded : - test / resources / profile - extended . js - test / resources / profile - private . js