We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 889ed4a commit 2ebd8adCopy full SHA for 2ebd8ad
test/integration/quota-test.js
@@ -16,6 +16,10 @@ describe('Get Quota', function () {
16
const quota = await getQuota(path.join('test/resources/', root), 'https://localhost')
17
expect(quota).to.equal(2000)
18
})
19
+ it('Get the quota with wrong size', async function () {
20
+ const quota = await getQuota(path.join('test/resources/', root), 'https://localhost')
21
+ expect(quota).to.not.equal(3000)
22
+ })
23
it('Get the quota with non-existant file', async function () {
24
const quota = await getQuota(path.join('nowhere/', root), 'https://localhost')
25
expect(quota).to.equal(Infinity)
0 commit comments