1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-01-22 23:16:23 +00:00

embed: fixed saveAs

This commit is contained in:
Steven Hugg
2021-01-06 08:56:10 -06:00
parent 2bb5e3d27e
commit f75141be30
4 changed files with 47 additions and 19 deletions

View File

@@ -45,6 +45,26 @@ describe('Store', function() {
});
});
it('Should import from Github (default branch)', function(done) {
var store = mstore.createNewPersistentStore('nes', function(store) {
var gh = newGH(store, 'nes');
gh.importAndPull('https://github.com/sehugg/mdf2020-nes').then( (sess) => {
console.log(sess.paths);
done();
});
});
});
it('Should import from Github (explicit branch)', function(done) {
var store = mstore.createNewPersistentStore('nes', function(store) {
var gh = newGH(store, 'nes');
gh.importAndPull('https://github.com/sehugg/mdf2020-nes/tree/main').then( (sess) => {
console.log(sess.paths);
done();
});
});
});
it('Should import from Github (binary files)', function(done) {
var store = mstore.createNewPersistentStore('vcs', function(store) {
var gh = newGH(store, 'vcs');