Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Test 'offline' #72

Merged
merged 9 commits into from
Oct 16, 2015
Merged

Test 'offline' #72

merged 9 commits into from
Oct 16, 2015

Conversation

marco-c
Copy link
Contributor

@marco-c marco-c commented Oct 14, 2015

Fixes #22.

});

it('should create offline-worker.js in the destination directory', function() {
var dir = temp.mkdirSync('tmp');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: a string argument to mkdirSync is a prefix that is prepended to the name of the directory, and it's intended to distinguish that directory from others inside the system-wide temp directory, so a string like oghliner would work better here (like this example of a "PDF Creator", which uses the prefix pdfcreator).

mykmelez added a commit that referenced this pull request Oct 16, 2015
@mykmelez mykmelez merged commit ddfbea2 into mozilla:master Oct 16, 2015
@marco-c marco-c deleted the test_offline branch October 16, 2015 00:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants