// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { assert } from 'chai';
import * as Platform from '../../core/platform/platform.js';
import * as Persistence from '../persistence/persistence.js';
const { urlString } = Platform.DevToolsPath;
describe('PlatformFileSystem', () => {
    it('can be instantiated successfully', () => {
        const platformFileSystem = new Persistence.PlatformFileSystem.PlatformFileSystem(urlString `Test Path`, Persistence.PlatformFileSystem.PlatformFileSystemType.WORKSPACE_PROJECT, false);
        assert.strictEqual(platformFileSystem.path(), 'Test Path', 'path was not set or retrieved correctly');
        assert.strictEqual(platformFileSystem.type(), Persistence.PlatformFileSystem.PlatformFileSystemType.WORKSPACE_PROJECT, 'Type was not set or retrieved correctly');
    });
});
//# sourceMappingURL=PlatformFileSystem.test.js.map